Browse Source

adjusted jenkinsfile to cleanup workspace

xiaoct 7 years ago
parent
commit
cf4186abf8
1 changed files with 5 additions and 0 deletions
  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'