aboutsummaryrefslogtreecommitdiff
path: root/jenkins/dispatch.groovy
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2017-08-16 14:46:30 -0400
committerMatt Rendina <mrendina@stsci.edu>2017-08-16 14:46:30 -0400
commitbea2ded97ab5def6a9d485a8b44193339231dfcc (patch)
tree79691b11550b3fb46feb30d44b0c07dc91a5b92b /jenkins/dispatch.groovy
parent75651d3748df93ddc7feb70dfae92850e49fcc0f (diff)
downloadbuild_control-bea2ded97ab5def6a9d485a8b44193339231dfcc.tar.gz
Pull publication root from manifest instead of params
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r--jenkins/dispatch.groovy5
1 files changed, 2 insertions, 3 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy
index 6dec068..0f5ac79 100644
--- a/jenkins/dispatch.groovy
+++ b/jenkins/dispatch.groovy
@@ -108,6 +108,7 @@ node(LABEL) {
"Recipe repository: ${this.manifest.repository}\n" +
"Numpy version spec: ${this.manifest.numpy_version}\n" +
"Channel URL: ${this.manifest.channel_URL}\n" +
+ "Publication root: ${this.manifest.publication_root}\n" +
"Package list:\n${manifest_pkg_txt}")
}
@@ -159,8 +160,6 @@ node(LABEL) {
sh "false"
}
- //def conda_installer =
- // this.conda_installers["${this.OSname}-py${PY_VERSION}"]
def conda_installer =
this.conda_installers["${this.OSname}-py${this.py_maj_version}"]
dl_cmd = dl_cmd + " ${CONDA_BASE_URL}/${conda_installer}"
@@ -246,7 +245,7 @@ node(LABEL) {
}
stage ("Publish") {
- def publication_path = "${PUBLICATION_ROOT}/${this.CONDA_PLATFORM}"
+ def publication_path = "${this.manifest.publication_root}/${this.CONDA_PLATFORM}"
// Copy and index packages if any were produced in the build.
def artifacts_present =
sh(script: "ls ${this.conda_build_output_dir}/*.tar.bz2 >/dev/null 2>&1",