aboutsummaryrefslogtreecommitdiff
path: root/jenkins/dispatch.groovy
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-04-24 15:22:06 -0400
committerMatt Rendina <mrendina@stsci.edu>2017-04-24 15:22:06 -0400
commit9cd9a4f9e8cead821bb6750ae26a612cfded443d (patch)
treee2d509a97ee580881f0ed57c84d75c34afb06296 /jenkins/dispatch.groovy
parentad13f9a34cf6c6309f303fc09cda8dfcbac440a3 (diff)
downloadbuild_control-9cd9a4f9e8cead821bb6750ae26a612cfded443d.tar.gz
Updating build flags; update and test patch mechanism; update patch files; add and update manifest content; allow for build_control repo URL speciication
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r--jenkins/dispatch.groovy10
1 files changed, 5 insertions, 5 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy
index 4ba44fd..f48022e 100644
--- a/jenkins/dispatch.groovy
+++ b/jenkins/dispatch.groovy
@@ -75,7 +75,7 @@ node(LABEL) {
println("PATH = ${env.PATH}")
// Fetch the manifest files
- git url: BUILD_CONTROL_REPO
+ git branch: BUILD_CONTROL_BRANCH, url: BUILD_CONTROL_REPO
// Check for the availability of a download tool and then use it
// to get the conda installer.
@@ -107,11 +107,11 @@ node(LABEL) {
sh "conda install --quiet --yes conda-build=${CONDA_BUILD_VERSION}"
// Apply bugfix patch to conda_build 2.1.1
+ def filename = "${env.WORKSPACE}/miniconda/lib/python${PY_VERSION}/site-packages/conda_build/config.py"
def patches_dir = "${env.WORKSPACE}/patches"
- def patch = "${patches_dir}/conda_build_2.1.1_substr_fix_py${this.py_maj_version}.patch"
- dir("miniconda/lib/python${PY_VERSION}/site-packages/conda/conda_build") {
- sh "patch ${patch}"
- }
+ def patchname = "conda_build_2.1.1_substr_fix_py${this.py_maj_version}.patch"
+ def full_patchname = "${patches_dir}/${patchname}"
+ sh "patch ${filename} ${full_patchname}"
this.manifest = readYaml file: "manifests/${MANIFEST_FILE}"
if (this.manifest.channel_URL[-1..-1] == "/") {