aboutsummaryrefslogtreecommitdiff
path: root/jenkins/dispatch.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r--jenkins/dispatch.groovy9
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