mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
changed docker
This commit is contained in:
parent
ab611051e6
commit
80e2f6b5c4
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -48,8 +48,8 @@ pipeline{
|
||||||
}
|
}
|
||||||
stage('docker login'){
|
stage('docker login'){
|
||||||
steps{
|
steps{
|
||||||
withCredentials([string(credentialsId: 'DOCKER_LOG')]) {
|
withCredentials([string(credentialsId: 'DOCKER_LOG', variable: 'USER', variable: 'PASSWORD')]) {
|
||||||
sh 'docker login'
|
sh 'docker login -u $USER -p $PASSWORD'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue