diff options
author | Matt Rendina <mrendina@stsci.edu> | 2017-08-09 17:52:53 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2017-08-09 17:52:53 -0400 |
commit | b708fbf728a3a1b28c5bedbb6edc8a4b2289dbad (patch) | |
tree | a0d9985cfbc228d093a4c3a74f63cd21a2bd893e | |
parent | 754542ec671a682744f916cabee775379724d990 (diff) | |
download | build_control-b708fbf728a3a1b28c5bedbb6edc8a4b2289dbad.tar.gz |
Change type of return code comparison value
-rw-r--r-- | jenkins/dispatch.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index bde59dc..551bad4 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -247,7 +247,7 @@ node(LABEL) { 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") { + 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 // time from trampling each other's indexing process. |