Explorar o código

adjusted Jenkinsfile

xiaoct %!s(int64=7) %!d(string=hai) anos
pai
achega
1298003bbc
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      Jenkinsfile

+ 5 - 5
Jenkinsfile

@@ -7,11 +7,6 @@ pipeline {
         }
     }
     stages {
-        stage('Clean Up Workspace'){
-            steps {
-                cleanWs()
-            }
-        }
         stage('SonarQube Analysis') {
             steps {
                 sh 'sonar-scanner'
@@ -48,6 +43,11 @@ pipeline {
                 input message: 'Finished using the web site? (Click "Proceed" to continue)'
             }
         }
+        post { 
+            always { 
+                cleanWs()
+        }
+    }
             
     }
 }