summaryrefslogtreecommitdiff
path: root/jjb/yaml/openbook-pipeline.yaml
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-10-26 10:43:54 -0600
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-10-26 10:43:54 -0600
commit46dbede156bd0b4bc9299ce73b4f1f917094c3a9 (patch)
tree0415009816ab36b2fd4ed7303c0678e24dce1cae /jjb/yaml/openbook-pipeline.yaml
parent733d887b7bd624c7b8a621cdd40fbbced20d0e00 (diff)
switch to enable/disable git polling in jenkins jobs
Closes-Bug: IS-26
Diffstat (limited to 'jjb/yaml/openbook-pipeline.yaml')
-rw-r--r--jjb/yaml/openbook-pipeline.yaml26
1 files changed, 25 insertions, 1 deletions
diff --git a/jjb/yaml/openbook-pipeline.yaml b/jjb/yaml/openbook-pipeline.yaml
index c379af5..37c8dee 100644
--- a/jjb/yaml/openbook-pipeline.yaml
+++ b/jjb/yaml/openbook-pipeline.yaml
@@ -6,98 +6,122 @@
artifact: "admin-api-server"
branch: "unstable"
tag: "4.1"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "admin-api-server"
branch: "develop"
tag: "4.0"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "admin-api-server"
branch: "stage"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "admin-api-server"
branch: "master"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "admin-web-ui"
branch: "unstable"
tag: "4.1"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "admin-web-ui"
branch: "develop"
tag: "4.0"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "admin-web-ui"
branch: "stage"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "admin-web-ui"
branch: "master"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "customer-api-server"
branch: "unstable"
tag: "4.1"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "customer-api-server"
branch: "develop"
tag: "4.0"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "customer-api-server"
branch: "stage"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "customer-api-server"
branch: "master"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "customer-web-ui"
branch: "unstable"
tag: "4.1"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "customer-web-ui"
branch: "develop"
tag: "4.0"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "customer-web-ui"
branch: "stage"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "customer-web-ui"
branch: "master"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "job-scheduler-server"
branch: "unstable"
tag: "4.1"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "job-scheduler-server"
branch: "develop"
tag: "4.0"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "job-scheduler-server"
branch: "stage"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "job-scheduler-server"
branch: "master"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "workflow-server"
branch: "unstable"
tag: "4.1"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "workflow-server"
branch: "develop"
tag: "4.0"
+ poll: true
- "{artifact}-{branch}-pipeline":
artifact: "workflow-server"
branch: "stage"
tag: "4.0"
+ poll: false
- "{artifact}-{branch}-pipeline":
artifact: "workflow-server"
branch: "master"
tag: "4.0"
+ poll: false
- job-template:
name: "{artifact}-{branch}-pipeline"
@@ -113,7 +137,7 @@
stages {{
stage("gradle") {{
steps {{
- git(branch: "{branch}", url: "git@github.com:Talligent/{artifact}.git")
+ git(poll: {poll}, branch: "{branch}", url: "git@github.com:Talligent/{artifact}.git")
sh(script: "/var/lib/jenkins/find_next_tag.sh \$(pwd) {artifact} {tag}")
sh(script: "./gradlew -PbuildNumber=\$(cat /tmp/newtag_{artifact}) -PbuildMode=buildProd -Dorg.gradle.daemon=false clean shadowJar")
stash(includes: "build/libs/*.jar", name: "jar")