소스 검색

adjusted jenkinsfile to cleanup workspace

xiaoct 7 년 전
부모
커밋
cf4186abf8
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Jenkinsfile

+ 5 - 0
Jenkinsfile

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