1
0
Fork 0

only run tests if build has passed

this relates to #176
This commit is contained in:
Christian Kühnel 2020-05-06 17:24:05 +02:00
parent 795d8270f7
commit f1c697c299

View file

@ -110,6 +110,8 @@ pipeline {
dir("${LLVM_DIR}") dir("${LLVM_DIR}")
{ {
script { script {
if (success) {
// only run tests if build has passed, see #176
try { try {
sh(script: "${SCRIPT_DIR}/run_ninja.py check-all") sh(script: "${SCRIPT_DIR}/run_ninja.py check-all")
} catch (e) { } catch (e) {
@ -121,6 +123,7 @@ pipeline {
} }
} }
} }
}
stage('linters') { stage('linters') {
steps { steps {
dir("${LLVM_DIR}") dir("${LLVM_DIR}")