aboutsummaryrefslogtreecommitdiff
path: root/jenkins/generator_DSL.groovy
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2017-12-21 10:34:43 -0500
committerGitHub <noreply@github.com>2017-12-21 10:34:43 -0500
commit2bdf23cd6045130ab30bbdd5d89f7792471b2e9d (patch)
tree59b25343ebd38c34116833733166add52572fc90 /jenkins/generator_DSL.groovy
parentd2de26fd3ee9ec9156a1e64b1f28c6ae23157529 (diff)
parentc79da534cb9e490139d7dfc6df4d2f3e3bc6b875 (diff)
downloadbuild_control-2bdf23cd6045130ab30bbdd5d89f7792471b2e9d.tar.gz
Merge pull request #46 from rendinam/jwst_delivery_prep
supplemental env vars & recipe repo branch spec
Diffstat (limited to 'jenkins/generator_DSL.groovy')
-rw-r--r--jenkins/generator_DSL.groovy10
1 files changed, 8 insertions, 2 deletions
diff --git a/jenkins/generator_DSL.groovy b/jenkins/generator_DSL.groovy
index b9a3967..cace2f5 100644
--- a/jenkins/generator_DSL.groovy
+++ b/jenkins/generator_DSL.groovy
@@ -41,7 +41,6 @@ for (label in labels.trim().tokenize()) {
//-----------------------------------------------------------------------
// Create a folder to contain the jobs which are created below.
-
suite_name = "${manifest_file.tokenize(".")[0]}_${label}_py${py_version}_np${numpy_version}"
folder(suite_name) {
description("Build suite generated: ${job_def_generation_time}\n" +
@@ -65,6 +64,10 @@ for (label in labels.trim().tokenize()) {
"Whether or not package recipes that would generate a " +
"package file name that already exists in the manfest's" +
" channel archive are removed from the build list.")
+ textParam("supp_env_vars",
+ "",
+ "List of supplemental environment variables to define " +
+ "in the build envioronment.")
}
logRotator {
numToKeep(this.num_builds_to_keep)
@@ -108,7 +111,6 @@ for (label in labels.trim().tokenize()) {
//-----------------------------------------------------------------------
// Generate the series of actual package building jobs.
-
for(pkg in config.packages) {
pipelineJob("${suite_name}/${pkg}") {
@@ -153,6 +155,10 @@ for (label in labels.trim().tokenize()) {
stringParam("use_version_pins",
"false",
"Whether or not to use global version pins.")
+ textParam("supp_env_vars",
+ "",
+ "List of supplemental environment variables to define " +
+ "in the build environment.")
}
definition {
cps {