mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
89b112d701
commit
3f22324595
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -56,7 +56,7 @@ pipeline {
|
||||||
stage('Login to Dockerhub') {
|
stage('Login to Dockerhub') {
|
||||||
steps {
|
steps {
|
||||||
echo "now we will login to dockerhub"
|
echo "now we will login to dockerhub"
|
||||||
sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR'
|
sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR --password-stdin'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Push to DockerHub') {
|
stage('Push to DockerHub') {
|
||||||
|
|
Loading…
Reference in a new issue