aboutsummaryrefslogtreecommitdiff
path: root/jenkins/dispatch.groovy
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-05-03 16:36:08 -0400
committerGitHub <noreply@github.com>2018-05-03 16:36:08 -0400
commita479e0990e13a0593fb3474250bd2ea7fb077177 (patch)
tree920a7c983108b50fa298f0ee48e1bed7995d4610 /jenkins/dispatch.groovy
parent8224c5ba3d86a5761b92afab6139f099b4e0c0d4 (diff)
parente99fb6d5465a5f5a8816f0aefbb3d8f5c1bcf5bc (diff)
downloadbuild_control-a479e0990e13a0593fb3474250bd2ea7fb077177.tar.gz
Merge pull request #66 from rendinam/filter_nonpy1.0.27
Add ability to filter non-python packages from a platform's build.
Diffstat (limited to 'jenkins/dispatch.groovy')
-rw-r--r--jenkins/dispatch.groovy15
1 files changed, 8 insertions, 7 deletions
diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy
index 493fe72..83635fb 100644
--- a/jenkins/dispatch.groovy
+++ b/jenkins/dispatch.groovy
@@ -275,19 +275,20 @@ node(LABEL) {
stage("Generate build list") {
// Generate a filtered, optionally culled, & dependency-ordered list
// of available package recipes.
- def culled_option = ""
- if (this.cull_manifest == "true") {
- culled_option = "--culled"
- }
def build_list_file = "build_list"
cmd = "rambo"
args = ["--platform ${this.CONDA_PLATFORM}",
"--python ${PY_VERSION}",
"--numpy ${NUMPY_VERSION}",
"--manifest manifests/${MANIFEST_FILE}",
- "--file ${build_list_file}",
- "${culled_option}",
- this.recipes_dir]
+ "--file ${build_list_file}"]
+ if (this.cull_manifest == "true") {
+ args.add("--culled")
+ }
+ if (this.filter_nonpython == "true") {
+ args.add("--filter-nonpy")
+ }
+ args.add(this.recipes_dir)
for (arg in args) {
cmd = "${cmd} ${arg}"
}