diff --git a/Jenkinsfile b/Jenkinsfile index 6693f0a..e292158 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,9 +28,9 @@ pipeline { steps { script { withCredentials([usernamePassword(credentialsId: "${DOCKERUSRPASS}", usernameVariable: 'REGISTRY_USER', passwordVariable: 'REGISTRY_TOKEN')]) { - sh ' + sh """ echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_URL" --username ${REGISTRY_USER} --password-stdin - ' + """ } } }