commit | cac28de7e17994fe1522c5de5169bd55f9cbcf72 | [log] [tgz] |
---|---|---|
author | Adam Tengler <atengler@mirantis.com> | Tue Aug 22 15:52:00 2017 +0200 |
committer | Adam Tengler <atengler@mirantis.com> | Tue Aug 22 15:52:21 2017 +0200 |
tree | 6f10dfcca0c7d12728b6960b64b812c3d0dafae8 | |
parent | 28982b6684734b2f620f6340d0f9e387faa162d8 [diff] [blame] |
Add error message to build description Change-Id: Ifffce007fbe9d3bc47ea57c30ee652b5e0bdb680
diff --git a/git-merge-branches-pipeline.groovy b/git-merge-branches-pipeline.groovy index cff1db5..0d8c47b 100644 --- a/git-merge-branches-pipeline.groovy +++ b/git-merge-branches-pipeline.groovy
@@ -22,6 +22,7 @@ } catch (Throwable e) { // If there was an error or exception thrown, the build failed currentBuild.result = "FAILURE" + currentBuild.description = e.message throw e } }