diff options
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r-- | jenkins/dispatch.groovy | 4 |
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 } } |