Skip to content
Snippets Groups Projects
Commit 982ed250 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fix: build failure not visible enough

parent 0ebb8bae
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,9 @@ def generateReport(String name, String label, String buildType) { ...@@ -107,7 +107,9 @@ def generateReport(String name, String label, String buildType) {
if(!fileExists('.dragon.build.success')) { if(!fileExists('.dragon.build.success')) {
echo("================= BUILD FAILED ==================") echo("================= BUILD FAILED ==================")
if(buildType != 'asan' && buildType != 'tsan') { if(buildType != 'asan' && buildType != 'tsan') {
currentBuild.result = 'ERROR' catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh "exit 1"
}
} }
else { else {
// asan/tsan failures will only warn // asan/tsan failures will only warn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment