diff options
author | Matt Rendina <mrendina@stsci.edu> | 2020-04-16 18:02:11 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2020-04-16 18:02:11 -0400 |
commit | d95b0ae843d4bd75d59590af87be86d31fd5e40f (patch) | |
tree | c74d3697416520410aed44b2704a9b9d28d94697 | |
parent | 55f9efd04036f517c2350ba9607f411ef997fab6 (diff) | |
download | build_control-d95b0ae843d4bd75d59590af87be86d31fd5e40f.tar.gz |
Disable index call entirely. Do it manually to compare.
-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 |