diff --git a/Jenkinsfile b/Jenkinsfile index 91810f5..3ffeead 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ sh 'whoami || true' sh 'which -a uname || true' sh 'uname || true' - sh 'sh make build/hello-linux-64' + sh 'sh -c make build/hello-linux-64' archiveArtifacts artifacts: 'build/hello-linux-64', fingerprint: true } } @@ -37,7 +37,7 @@ sh 'whoami || true' sh 'which -a uname || true' sh 'uname || true' - sh 'sh make build/hello-win64.exe' + sh 'sh -c make build/hello-win64.exe' archiveArtifacts artifacts: 'build/hello-win64.exe', fingerprint: true // echo 'Cleaning..' // cleanWs cleanWhenFailure: false, cleanWhenNotBuilt: false, cleanWhenUnstable: false @@ -56,7 +56,7 @@ sh 'whoami || true' sh 'which -a uname || true' sh 'uname || true' - sh 'uname && sh make build/hello-macosx.bin || true' + sh 'uname && sh -c make build/hello-macosx.bin || true' archiveArtifacts artifacts: 'build/hello-macosx.bin', fingerprint: true } }