summaryrefslogtreecommitdiff
path: root/jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-11-28 14:18:16 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-11-28 14:18:16 -0700
commitf8ec26529bf36d1a8cce1c320308e31bd9cd797f (patch)
treecf29d6237ff6455471c1804ed14d45fadf2f7cf0 /jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml
parent559b3ee77ebe583dae2984ba1c25ea398693995b (diff)
rearranging files to support two remotes
Diffstat (limited to 'jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml')
-rw-r--r--jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml b/jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml
new file mode 100644
index 0000000..ef7c736
--- /dev/null
+++ b/jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml
@@ -0,0 +1,43 @@
+---
+- project:
+ name: "ob-deploy-branch"
+ branch:
+ - "unstable"
+ - "develop"
+ - "stage"
+ - "master"
+ jobs:
+ - "ob-deploy-branch-{branch}"
+
+- job-template:
+ name: "ob-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:
+ - ".*ob-pipeline"
+ block_level: 'GLOBAL'
+ queue-scanning: 'BUILDABLE'
+ triggers:
+ - reverse:
+ jobs:
+ - "admin-api-server-{branch}-ob-pipeline"
+ - "admin-web-ui-{branch}-ob-pipeline"
+ - "customer-api-server-{branch}-ob-pipeline"
+ - "customer-web-ui-{branch}-ob-pipeline"
+ - "job-scheduler-server-{branch}-ob-pipeline"
+ - "workflow-server-{branch}-ob-pipeline"
+ scm:
+ - git:
+ url: git@github.vcp.vzwnet.com:konstca/openbook-v4-installer.git
+ branches:
+ - master
+ builders:
+ - shell: |
+ ./ob-deploy-branch.sh {branch}