formation 1 год назад
Родитель
Сommit
f654a3cc8d
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      Jenkinsfile

+ 3 - 3
Jenkinsfile

@@ -31,14 +31,14 @@ node{
 
 
     
     
 	
 	
-	
-     stage('Push Docker images to Nexus') {
+	stage('Push Docker images to Nexus') {
     withCredentials([usernamePassword(credentialsId: 'nexus', usernameVariable: 'admin', passwordVariable: 'azerty10')]) {
     withCredentials([usernamePassword(credentialsId: 'nexus', usernameVariable: 'admin', passwordVariable: 'azerty10')]) {
-        sh "docker login -u ${admin} -p ${azerty10} nexus.foodgame.fr:8443"
+        sh "docker login -u ${admin} -p ${azerty10} nexus.foodgame.fr"
         sh "docker-compose push"
         sh "docker-compose push"
     }
     }
 }
 }
 
 
+
 	
 	
 
 
     stage('Build Docker MEAN Stack(PreProduction Deployment)') 
     stage('Build Docker MEAN Stack(PreProduction Deployment)')