aboutsummaryrefslogtreecommitdiff
path: root/jenkins/job-suite-generator.groovy
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2017-04-21 08:22:26 -0400
committerGitHub <noreply@github.com>2017-04-21 08:22:26 -0400
commitad13f9a34cf6c6309f303fc09cda8dfcbac440a3 (patch)
treec27b5b4ffd1d433052ee78dbdc68df7f8b997c39 /jenkins/job-suite-generator.groovy
parentf6ebcdb2f3a5ac7ea239a0e0174da1b9dd0d4a4b (diff)
parentffbad10e2977d001967bd8e89d9f19413fa7bd49 (diff)
downloadbuild_control-ad13f9a34cf6c6309f303fc09cda8dfcbac440a3.tar.gz
Merge pull request #9 from rendinam/culling_control
Add control of culling behavior via dispatch trigger...
Diffstat (limited to 'jenkins/job-suite-generator.groovy')
-rw-r--r--jenkins/job-suite-generator.groovy20
1 files changed, 13 insertions, 7 deletions
diff --git a/jenkins/job-suite-generator.groovy b/jenkins/job-suite-generator.groovy
index 9130d37..9ef3e08 100644
--- a/jenkins/job-suite-generator.groovy
+++ b/jenkins/job-suite-generator.groovy
@@ -16,10 +16,16 @@ node("master") {
// These variables are provided by the execution of the generator
// build task with parameters. Each var is populated by a parameter
// specification.
- sh "echo manifest_file=${this.manifest_file}"
- sh "echo label=${this.label}"
- sh "echo py_version=${this.py_version}"
- sh "echo old_jobs_action=${this.old_jobs_action}"
+ println("manifest_file=${this.manifest_file}")
+ println("label=${this.label}")
+ println("py_version=${this.py_version}")
+ println("build_control_repo=${this.build_control_repo}")
+ println("conda_version=${this.conda_version}")
+ println("conda_build_version=${this.conda_build_version}")
+ println("conda_base_URL=${this.conda_base_URL}")
+ println("utils_repo=${this.utils_repo}")
+
+ println("old_jobs_action=${this.old_jobs_action}")
}
stage("Setup") {
@@ -34,10 +40,10 @@ node("master") {
sh "cp -r ${env.WORKSPACE}@script/* ."
}
- stage('Spawn job definitions') {
- jobDsl targets: ["jenkins/generator_DSL.groovy"].join('\n'),
+ stage("Spawn job definitions") {
+ jobDsl targets: ["jenkins/generator_DSL.groovy"].join("\n"),
lookupStrategy: "SEED_JOB",
- additionalClasspath: ["${this.ldir}/*.jar"].join('\n'),
+ additionalClasspath: ["${this.ldir}/*.jar"].join("\n"),
removeAction: "${this.old_jobs_action}"
}