diff options
author | Matt Rendina <mrendina@stsci.edu> | 2017-08-10 17:47:15 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2017-08-10 17:47:15 -0400 |
commit | 5a7b1030115057f0448007db8bd5bb0a5d27aadb (patch) | |
tree | 266c0b314c6c920f163c1db646dc16017f833572 | |
parent | c806de29f1ffe5bf81c85b951b461ae382db39a1 (diff) | |
download | build_control-5a7b1030115057f0448007db8bd5bb0a5d27aadb.tar.gz |
Better publication status output
-rw-r--r-- | jenkins/dispatch.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 1b86060..3c4ac1a 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -249,7 +249,6 @@ node(LABEL) { def artifacts_present = sh(script: "ls ${this.conda_build_output_dir}/*.tar.bz2 >/dev/null 2>&1", returnStatus: true) - 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 @@ -275,6 +274,8 @@ node(LABEL) { } sh(script: "rm -f ${lockfile}") } + } else { + println("No build artifacts found.") } } } |