Explorar o código

adjusted jenkinsfile to cleanup workspace

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

+ 5 - 0
Jenkinsfile

@@ -8,6 +8,11 @@ pipeline {
         }
     }
     stages {
+        stage('Clean Up Workspace'){
+            steps {
+                cleanWs()
+            }
+        }
         stage('SonarQube Analysis') {
             steps {
                 sh 'sonar-scanner'