From 0493747f5d1b30008b4170b3d48080abfa224700 Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Tue, 24 Oct 2017 18:27:27 -0600 Subject: make it work for all 4 git branches --- jjb/yaml/deploy-branch.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 jjb/yaml/deploy-branch.yaml (limited to 'jjb/yaml/deploy-branch.yaml') 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} -- cgit v1.3