diff options
author | Matt Rendina <rendinam@users.noreply.github.com> | 2017-06-08 20:24:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 20:24:26 -0400 |
commit | eb16bc4d7aeb00e77e8c1f130243bac1fb9b55fa (patch) | |
tree | 83d62caae69e2e26f2260a307fd3d29ac5397c19 /jenkins/generator_DSL.groovy | |
parent | 370d42fbfb7b6949c5a7d57ba13c6ae34c0f5b42 (diff) | |
parent | 900319c12d8e4280926767efea9f18d4256c0d7c (diff) | |
download | build_control-eb16bc4d7aeb00e77e8c1f130243bac1fb9b55fa.tar.gz |
Merge pull request #15 from rendinam/repospec
Simplify control repo and branch specification
Diffstat (limited to 'jenkins/generator_DSL.groovy')
-rw-r--r-- | jenkins/generator_DSL.groovy | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jenkins/generator_DSL.groovy b/jenkins/generator_DSL.groovy index c14efec..4c9c14c 100644 --- a/jenkins/generator_DSL.groovy +++ b/jenkins/generator_DSL.groovy @@ -21,6 +21,12 @@ folder(suite_name) // build jobs. this.script = "dispatch.groovy" + +this.build_control_repo = readFileFromWorkspace("VAR-build_control_repo") +this.build_control_repo = this.build_control_repo.trim() +this.build_control_branch = readFileFromWorkspace("VAR-build_control_branch") +this.build_control_branch= this.build_control_branch.trim() + pipelineJob("${suite_name}/_${script.tokenize(".")[0]}") { // At trigger-time, allow for setting manifest culling behavior. parameters { |