formation 1 vuosi sitten
vanhempi
commit
4523f6cce6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -34,7 +34,7 @@ node{
 	
      stage('Push Docker images to Nexus') {
         withCredentials([usernamePassword(credentialsId: 'nexus', usernameVariable: 'admin', passwordVariable: 'azerty10')]) {
-            sh 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD nexus.foodgame.fr:8443'
+            sh 'docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD} nexus.foodgame.fr:8443'
             sh 'docker-compose push'
         }
     }