diff options
| author | Matt Rendina <mrendina@stsci.edu> | 2017-11-21 16:40:37 -0500 |
|---|---|---|
| committer | Matt Rendina <mrendina@stsci.edu> | 2017-11-21 16:40:37 -0500 |
| commit | 558cdb857eba2d3e8ea424164f37a354b01e5015 (patch) | |
| tree | 1bf538c96887bbc657e0e713ed4e81c3f1f4557d | |
| parent | 4f5b078896b26ba49947902019f2bfecfaebd5c2 (diff) | |
| download | jscu_refactor-558cdb857eba2d3e8ea424164f37a354b01e5015.tar.gz | |
Test exception throw, second type
| -rw-r--r-- | vars/jfile_utils.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vars/jfile_utils.groovy b/vars/jfile_utils.groovy index 14378a0..e17e618 100644 --- a/vars/jfile_utils.groovy +++ b/vars/jfile_utils.groovy @@ -15,11 +15,11 @@ def scm_checkout() { if (logoutput.contains("[ci skip]") || logoutput.contains("[skip ci]")) { skip_job = 1 currentBuild.result = 'SUCCESS' - currentBuild.rawbuild.result = 'SUCCESS' println("\nBuild skipped due to commit message directive.\n") // System.exit(0) // FATAL to Jenkins //return skip_job - throw new hudson.AbortException('Guess what!') + //throw new hudson.AbortException('Guess what!') + throw new java.io.IOException('Guess what!') } stash includes: '**/*', name: 'source_tree' } |
