Browse Source

kill build dir before jenkins build

Grant Limberg 6 years ago
parent
commit
710b69fc75
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -14,7 +14,8 @@ parallel 'centos7': {
             checkout scm
 
 	        stage('Build Centos 7') {
-		sh '''mkdir build && cd build
+		sh '''rm -rf build/
+              mkdir build && cd build
 		      CC=clang CXX=clang++ cmake ..
 		      make -j4
 		'''