Provide link to Gitler report for gitler asserts (#986)

This will help "offending" contributors to find what
is wrong.
This commit is contained in:
Patrick Fallberg
2017-11-11 17:56:56 +01:00
committed by GitHub
parent 4f0a4ee021
commit 809663e648
+1
View File
@@ -102,6 +102,7 @@ def call(config) {
config.pr.setBuildStatus(config, 'FAILURE', 'Toll gate (Gitler)', 'Commit(s) does not meet coding standards', '${BUILD_URL}Gitler_report/gitler.html')
currentBuild.currentResult == 'FAILURE'
echo "Termiated due to Gitler assert" // For BFA
echo "You can read the detailed error report here: "+env.BUILD_URL+"Gitler_report/"
error 'Termiated due to Gitler assert'
} else {
config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Gitler)', 'Pass', '')