Fix Jenkinsfile
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -95,7 +95,7 @@ pipeline {
|
||||
|
||||
stage('Docker Push'){
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId:'registry-basic', usernameVariable:'REG_USER', passwordVariable:'REG_PASS')]){
|
||||
withCredentials([usernamePassword(credentialsId:'reg-creds', usernameVariable:'REG_USER', passwordVariable:'REG_PASS')]){
|
||||
sh '''
|
||||
set -eux
|
||||
docker logout ${REGISTRY} || true
|
||||
|
||||
Reference in New Issue
Block a user