mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
JenkinsFile docker configuration
This commit is contained in:
parent
40d9eace6d
commit
68f7f6605e
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -39,7 +39,7 @@ pipeline {
|
||||||
// }
|
// }
|
||||||
stage('login') {
|
stage('login') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker login --username $DOCKERHUB_CREDENTIALS_USR --password-stdin $DOCKERHUB_CREDENTIALS_PSW'
|
sh 'docker login -u $DOCKERHUB_CREDENTIALS_USR -p $DOCKERHUB_CREDENTIALS_PSW'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('deploy to dockerhub') {
|
stage('deploy to dockerhub') {
|
||||||
|
|
Loading…
Reference in a new issue