diff options
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r-- | jenkins/dispatch.groovy | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 5088805..62a7de5 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -358,11 +358,12 @@ node(LABEL) { sh(script: "${rsync_cmd} ${this.conda_build_output_dir}/*.tar.bz2 ${publication_path}") // Test a single index per OS. Avoid collision mitigation for now. - if ("${PY_VERSION}" == "3.7" && this.CONDA_PLATFORM == "linux-64") { - def index_cmd = "conda index" - index_cmd = "${index_cmd} -t 4 --no-progress --subdir ${this.CONDA_PLATFORM} ${this.manifest.publication_root}" - sh(script: "time ${index_cmd}") - } + //if ("${PY_VERSION}" == "3.7" && this.CONDA_PLATFORM == "linux-64") { + // def index_cmd = "conda index" + // index_cmd = "${index_cmd} -t 4 --no-progress --subdir ${this.CONDA_PLATFORM} ${this.manifest.publication_root}" + // sh(script: "time ${index_cmd}") + //} + // Use a lock file to prevent two dispatch jobs that finish at the same // time from trampling each other's indexing process. ////def tries_remaining = this.max_publication_tries |