Преглед изворни кода

commentaire sur le stage stop and clean containers

DESKTOP-SMCIPAV\falko пре 5 месеци
родитељ
комит
4f491e4aa1
1 измењених фајлова са 17 додато и 17 уклоњено
  1. 17 17
      Jenkinsfile

+ 17 - 17
Jenkinsfile

@@ -37,14 +37,14 @@ pipeline {
             }
         }
 
-        stage('Install Dependencies & Test') {
-            steps {
-                withEnv(["PATH=${tool 'NodeJS'}/bin:${env.PATH}"]) {
-                    sh 'npm install --legacy-peer-deps'
-                    sh 'npm run test -- --no-watch --no-progress --browsers=ChromeHeadless'
-                }
-            }
-        }
+        // stage('Install Dependencies & Test') {
+        //     steps {
+        //         withEnv(["PATH=${tool 'NodeJS'}/bin:${env.PATH}"]) {
+        //             sh 'npm install --legacy-peer-deps'
+        //             sh 'npm run test -- --no-watch --no-progress --browsers=ChromeHeadless'
+        //         }
+        //     }
+        // }
 
         stage('SonarQube Analysis') {
             steps {
@@ -63,15 +63,15 @@ pipeline {
             }
         }
 
-        stage('Stop & Clean Containers') {
-            steps {
-                sh """
-                    docker ps | grep "workflow_" -v | awk '{if(NR>1) print \$1}' | xargs docker kill || true
-                    docker-compose -f ${env.COMPOSE_FILE} down || true
-                    docker system prune -f
-                """
-            }
-        }
+        // stage('Stop & Clean Containers') {
+        //     steps {
+        //         sh """
+        //             docker ps | grep "workflow_" -v | awk '{if(NR>1) print \$1}' | xargs docker kill || true
+        //             docker-compose -f ${env.COMPOSE_FILE} down || true
+        //             docker system prune -f
+        //         """
+        //     }
+        // }
 
         stage('Build & Deploy') {
             steps {