Browse Source

this should work better

Grant Limberg 6 years ago
parent
commit
741258051e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

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