Sfoglia il codice sorgente

this should work better

Grant Limberg 6 anni fa
parent
commit
741258051e
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

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