aboutsummaryrefslogtreecommitdiff
path: root/jenkins/dispatch.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r--jenkins/dispatch.groovy4
1 files changed, 3 insertions, 1 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy
index f3168c6..edd873b 100644
--- a/jenkins/dispatch.groovy
+++ b/jenkins/dispatch.groovy
@@ -222,7 +222,9 @@ node(LABEL) {
}
// Set overall status to that propagated from individual jobs.
// This will be the most severe status encountered in all sub jobs.
- currentBuild.result = readFile this.build_status_file
+ def tmp_status = readFile this.build_status_file
+ tmp_status = tmp_status.trim()
+ currentBuild.result = tmp_status
}
}