diff options
| author | ckonstanski <ckonstanski@pippiandcarlos.com> | 2017-10-24 18:27:27 -0600 |
|---|---|---|
| committer | ckonstanski <ckonstanski@pippiandcarlos.com> | 2017-10-24 18:27:27 -0600 |
| commit | 0493747f5d1b30008b4170b3d48080abfa224700 (patch) | |
| tree | 4ee87ddb639f30a47e95861409a1b9d71d183e07 /jjb/yaml/deploy-branch.yaml | |
| parent | dd48453e079d5c93f7cf0af59843bd7d4180e186 (diff) | |
make it work for all 4 git branches
Diffstat (limited to 'jjb/yaml/deploy-branch.yaml')
| -rw-r--r-- | jjb/yaml/deploy-branch.yaml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/jjb/yaml/deploy-branch.yaml b/jjb/yaml/deploy-branch.yaml new file mode 100644 index 0000000..a8a3746 --- /dev/null +++ b/jjb/yaml/deploy-branch.yaml @@ -0,0 +1,43 @@ +--- +- project: + name: "deploy-branch" + branch: + - "unstable" + - "develop" + - "stage" + - "master" + jobs: + - "deploy-branch-{branch}" + +- job-template: + name: "deploy-branch-{branch}" + project-type: freestyle + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + - build-blocker: + use-build-blocker: true + blocking-jobs: + - ".*-pipeline" + block_level: 'GLOBAL' + queue-scanning: 'BUILDABLE' + triggers: + - reverse: + jobs: + - "admin-api-server-{branch}-pipeline" + - "admin-web-ui-{branch}-pipeline" + - "customer-api-server-{branch}-pipeline" + - "customer-web-ui-{branch}-pipeline" + - "job-scheduler-server-{branch}-pipeline" + - "workflow-server-{branch}-pipeline" + scm: + - git: + url: git@github.com:Talligent/openbook-v4-installer.git + branches: + - master + builders: + - shell: | + ./deploy-branch.sh {branch} |
