Skip to content

Commit 2075282

Browse files
authored
Update Jenkinsfile - replaced % with $
1 parent 4e82f0b commit 2075282

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pipeline{
1818
steps{
1919
withCredentials([usernamePassword(credentialsId: 'docker', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]){
2020
sh '''
21-
echo %DOCKER_PASS% |
21+
echo $DOCKER_PASS |
2222
docker login -u $DOCKER_USER --password-stdin
2323
docker push $IMAGE_NAME:latest
2424
docker logout

0 commit comments

Comments
 (0)