This commit is contained in:
parent
cbf1a39e57
commit
43964d454f
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -25,7 +25,6 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
|
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
|
||||||
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
|
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
|
||||||
sh 'cat /var/jenkins_home/workspace/perso_jenkins-wdocker_master@tmp/abed23b6-7300-4b49-82d2-0f788b5079a0/config.json'
|
|
||||||
sh 'docker push jcabillot/jenkins-wdocker'
|
sh 'docker push jcabillot/jenkins-wdocker'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user