diff --git a/Jenkins/master-linux-pipeline/Jenkinsfile b/Jenkins/master-linux-pipeline/Jenkinsfile index 3410a8e..941d7ae 100644 --- a/Jenkins/master-linux-pipeline/Jenkinsfile +++ b/Jenkins/master-linux-pipeline/Jenkinsfile @@ -28,12 +28,14 @@ pipeline { git url: 'https://github.com/llvm/llvm-project.git' sh 'git clean -fdx' sh 'mkdir -p llvm-premerge-checks' - sh 'mkdir -p "${TARGET_DIR}"' dir("llvm-premerge-checks") { git url: 'https://github.com/google/llvm-premerge-checks.git' } - } + sh 'rm -rf build || true' + sh 'mkdir -p build' + sh 'mkdir -p "${TARGET_DIR}"' + } } stage('CMake') { steps {