diff options
author | Matt Rendina <mrendina@stsci.edu> | 2017-09-18 17:03:10 -0400 |
---|---|---|
committer | Matt Rendina <mrendina@stsci.edu> | 2017-09-18 17:34:43 -0400 |
commit | cc0098f24e73fc5f7172218ddc19c43597e168bf (patch) | |
tree | d20e13973bf03bf6caab6b1841f4a27452507098 /jenkins/dispatch.groovy | |
parent | 7a6b78f03f4ac1879c7dd6c3408ad0564823c74f (diff) | |
download | build_control-cc0098f24e73fc5f7172218ddc19c43597e168bf.tar.gz |
Test conda_build 3.x substring bugfix patch
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r-- | jenkins/dispatch.groovy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index a1e91cd..aa6b924 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -200,6 +200,15 @@ node(LABEL) { def full_patchname = "${patches_dir}/${patchname}" sh "patch ${filename} ${full_patchname}" } + if (conda_build_maj_ver == "3") { + println("conda-build major version ${conda_build_maj_ver} detected. Applying bugfix patch.") + def filename = "${this.conda_install_dir}/lib/python${PY_VERSION}/" + + "site-packages/conda_build/config.py" + def patches_dir = "${env.WORKSPACE}/patches" + def patchname = "conda_build_3.0.15_substr_fix2.patch" + def full_patchname = "${patches_dir}/${patchname}" + sh "patch ${filename} ${full_patchname}" + } // (conda-build 3.x only) // Create and populate environment to be used for pinning reference when |