aboutsummaryrefslogtreecommitdiff
path: root/jenkins
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-08-03 14:55:16 -0400
committerMatt Rendina <mrendina@stsci.edu>2017-08-03 14:55:16 -0400
commit30db90c7f98f35ef494122e38ca53aca1d89db51 (patch)
tree36caf92029478aa691fa240505e82ae52aaeacc0 /jenkins
parentf24f72cff0e9b8cf3d8a38ed1e702f814bfde27d (diff)
downloadbuild_control-30db90c7f98f35ef494122e38ca53aca1d89db51.tar.gz
Turn on status capture again.
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/dispatch.groovy12
1 files changed, 4 insertions, 8 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy
index 67b07b4..389ecd3 100644
--- a/jenkins/dispatch.groovy
+++ b/jenkins/dispatch.groovy
@@ -240,8 +240,7 @@ node(LABEL) {
stage ("Publication") {
// Copy packages built during this session to the publication path.
def publication_path = "${PUBLICATION_ROOT}/${this.CONDA_PLATFORM}"
- //def rsync_status = sh(script: "rsync -avzr ${this.conda_build_output_dir}/*.tar.bz2 ${publication_path}")
- 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 = "${publication_path}/LOCK-Jenkins"
@@ -259,14 +258,11 @@ node(LABEL) {
}
}
if ( tries_remaining != 0 ) {
- //def lockfile_status = sh(script: "touch ${lockfile}")
- sh(script: "touch ${lockfile}")
+ def lockfile_status = sh(script: "touch ${lockfile}")
dir(this.conda_build_output_dir) {
- //def index_status = sh(script: "conda index ${publication_path}")
- sh(script: "conda index ${publication_path}")
+ def index_status = sh(script: "conda index ${publication_path}")
}
- //lockfile_status = sh(script: "rm -f ${lockfile}")
- sh(script: "rm -f ${lockfile}")
+ lockfile_status = sh(script: "rm -f ${lockfile}")
}
}
}