mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
all envs
This commit is contained in:
parent
6d9a9f86cf
commit
da1ed63bde
1 changed files with 1 additions and 6 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -27,16 +27,11 @@ pipeline {
|
|||
steps {
|
||||
withCredentials([usernamePassword(
|
||||
credentialsId: "580b959d-d40a-422f-a3d7-cf11b2ec7a4c",
|
||||
//credentialsId: DOCKERHUB_CREDS,
|
||||
//usernameVariable: '580b959d-d40a-422f-a3d7-cf11b2ec7a4cUsername'
|
||||
// passwordVariable: '580b959d-d40a-422f-a3d7-cf11b2ec7a4cUsername'
|
||||
usernameVariable: 'DOCKER_USER',
|
||||
// passwordVariable: 'DOCKER_PASS'
|
||||
passwordVariable: 'DOCKER_PASS',
|
||||
)]) {
|
||||
echo "Logging in to Docker Hub..."
|
||||
sh "echo ${env.DOCKER_USER}"
|
||||
// echo "Pushing Docker image to ${imageTag}"
|
||||
// sh "docker push ${imageTag}"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue