changed docker credentials

This commit is contained in:
sridhar 2023-09-15 13:22:40 +05:30
parent 80e2f6b5c4
commit bf877f96be

2
Jenkinsfile vendored
View file

@ -48,7 +48,7 @@ pipeline{
} }
stage('docker login'){ stage('docker login'){
steps{ steps{
withCredentials([string(credentialsId: 'DOCKER_LOG', variable: 'USER', variable: 'PASSWORD')]) { withCredentials([string(credentialsId: 'DOCKER_LOG', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) {
sh 'docker login -u $USER -p $PASSWORD' sh 'docker login -u $USER -p $PASSWORD'
} }
} }