diff options
author | Matt Rendina <mrendina@stsci.edu> | 2017-08-03 14:40:20 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2017-08-03 14:40:20 -0400 |
commit | ca7dfb1a205af0944c9f9742edae90a00a3813d8 (patch) | |
tree | accd697dcbbaa740de114bcdb72f0941a84e6d3f | |
parent | af12a963ce3c0358b5465b624b9dbb2681c8572b (diff) | |
download | build_control-ca7dfb1a205af0944c9f9742edae90a00a3813d8.tar.gz |
Capture shell shell call output to investigate failure reporting
-rw-r--r-- | jenkins/dispatch.groovy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 8393cd8..6545777 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -240,7 +240,7 @@ node(LABEL) { stage ("Publication") { // Copy packages built during this session to the publication path. def publication_path = "${PUBLICATION_ROOT}/${this.CONDA_PLATFORM}" - sh(script: "rsync -avzr ${this.conda_build_output_dir}/*.tar.bz2 ${publication_path}") + def rsync_status = sh(script: "rsync -avzr ${this.conda_build_output_dir}/*.tar.bz2 ${publication_path}") // Use a lock file to prevent two dispatch jobs that finish at the same // time from trampling each other's indexing process. def lockfile = "${this.conda_build_output_dir}/LOCK-Jenkins" @@ -258,11 +258,11 @@ node(LABEL) { } } if ( tries_remaining != 0 ) { - sh(script: "touch ${lockfile}") + def lockfile_status = sh(script: "touch ${lockfile}") dir(this.conda_build_output_dir) { - sh(script: "conda index ${publication_path}") + def index_status = sh(script: "conda index ${publication_path}") } - sh(script: "rm -f ${lockfile}") + def lockfile_status = sh(script: "rm -f ${lockfile}") } } } |