parent
795d8270f7
commit
f1c697c299
1 changed files with 9 additions and 6 deletions
15
Jenkins/BETA-phabricator-linux/Jenkinsfile
vendored
15
Jenkins/BETA-phabricator-linux/Jenkinsfile
vendored
|
@ -110,12 +110,15 @@ pipeline {
|
||||||
dir("${LLVM_DIR}")
|
dir("${LLVM_DIR}")
|
||||||
{
|
{
|
||||||
script {
|
script {
|
||||||
try {
|
if (success) {
|
||||||
sh(script: "${SCRIPT_DIR}/run_ninja.py check-all")
|
// only run tests if build has passed, see #176
|
||||||
} catch (e) {
|
try {
|
||||||
success = false;
|
sh(script: "${SCRIPT_DIR}/run_ninja.py check-all")
|
||||||
failure_message += "\n'ninja check-all' failed" // append as build might already be broken
|
} catch (e) {
|
||||||
echo e.toString()
|
success = false;
|
||||||
|
failure_message += "\n'ninja check-all' failed" // append as build might already be broken
|
||||||
|
echo e.toString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue