aboutsummaryrefslogtreecommitdiff
path: root/jenkins
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-08-09 16:19:27 -0400
committerMatt Rendina <mrendina@stsci.edu>2017-08-09 16:19:27 -0400
commit983fa191385e27fc6bdce85bb6af54796e913800 (patch)
tree39efe705eecd8d3f19a3cf66e9ddc9a3ef15ec57 /jenkins
parent25cb87047c7c22751bb3dc04173227922cbfe46d (diff)
downloadbuild_control-983fa191385e27fc6bdce85bb6af54796e913800.tar.gz
Path fix and diagnostic output
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/dispatch.groovy3
1 files changed, 2 insertions, 1 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy
index 03383d2..f610fed 100644
--- a/jenkins/dispatch.groovy
+++ b/jenkins/dispatch.groovy
@@ -242,8 +242,9 @@ node(LABEL) {
stage ("Publish") {
def publication_path = "${PUBLICATION_ROOT}/${this.CONDA_PLATFORM}"
- def artifacts_present = sh(script: "ls ${publication_path}/*.tar.bz2 >/dev/null 2>&1")
// Copy and index packages if any were produced in the build.
+ def artifacts_present = sh(script: "ls ${this.conda_build_output_dir}/*.tar.bz2 >/dev/null 2>&1")
+ println("artifacts_present: ${artifacts_present}")
if (artifacts_present == "0") {
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