From b708fbf728a3a1b28c5bedbb6edc8a4b2289dbad Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Wed, 9 Aug 2017 17:52:53 -0400 Subject: Change type of return code comparison value --- jenkins/dispatch.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jenkins') 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. -- cgit