formation 1 년 전
부모
커밋
6756e902bf
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

@@ -32,14 +32,15 @@ node{
     
 	stage('Push Docker images to Nexus') {
     withCredentials([usernamePassword(credentialsId: 'nexus', usernameVariable: 'admin', passwordVariable: 'azerty10')]) {
-        sh "echo ${azerty10} | docker login -u ${admin} --password-stdin nexus.foodgame.fr/repository/docker-fatboar-registry/"
-        sh "docker-compose push"
+        sh 'echo ${azerty10} | docker login -u ${admin} --password-stdin https://nexus.foodgame.fr/repository/docker-fatboar-registry/'
+        sh 'docker-compose push'
     }
 }
 
 
 
 
+
 	
 
     stage('Build Docker MEAN Stack(PreProduction Deployment)')