formation 1 년 전
부모
커밋
de9159f256
1개의 변경된 파일5개의 추가작업 그리고 8개의 파일을 삭제
  1. 5 8
      Jenkinsfile

+ 5 - 8
Jenkinsfile

@@ -29,15 +29,15 @@ node{
 	// 	}
 	// }
 
-    
-	stage('Push Docker images to Nexus') {
+    node {
+    stage('Push Docker images to Nexus') {
         environment {
             NEXUS_URL = 'https://nexus.foodgame.fr'
             NEXUS_CREDENTIAL_ID = 'nexus'
             NEXUS_USERNAME = 'admin'
             NEXUS_PASSWORD = 'azerty10'
             DOCKER_IMAGE_NAME = 'workflow_jenkins_1'
-            DOCKER_IMAGE_TAG = 'lastest'
+            DOCKER_IMAGE_TAG = 'latest'
         }
         steps {
             script {
@@ -60,12 +60,9 @@ node{
             }
         }
     }
+}
 
-
-
-
-
-
+	
 	
 
     stage('Build Docker MEAN Stack(PreProduction Deployment)')