commit | 5ce6a36b27a89fecc862055afffe1ab57dcde6b3 | [log] [tgz] |
---|---|---|
author | Jakub Josef <jakub.josef@gmail.com> | Fri Mar 31 13:41:17 2017 +0200 |
committer | Jakub Josef <jakub.josef@gmail.com> | Fri Mar 31 13:41:17 2017 +0200 |
tree | cbf7b47bd474f25640d420efcfdb5f4e115ff811 | |
parent | 7818a931f1224d7cf2ae7461dc4b75f03afe9a5d [diff] [blame] |
Improved error handling in test pipelines. Change-Id: Iecd0451fa776c2238e65672269c1ac2a6c734baf
diff --git a/test-system-reclass-pipeline.groovy b/test-system-reclass-pipeline.groovy index a63a7df..65fce27 100644 --- a/test-system-reclass-pipeline.groovy +++ b/test-system-reclass-pipeline.groovy
@@ -57,7 +57,7 @@ } parallel branches }else{ - common.errorMsg("Cannot checkout gerrit patchset, GERRIT_REFSPEC and DEFAULT_GIT_REF is null") + throw new Exception("Cannot checkout gerrit patchset, GERRIT_REFSPEC and DEFAULT_GIT_REF is null") } } } catch (Throwable e) {