summaryrefslogtreecommitdiff
path: root/jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml')
-rw-r--r--jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml65
1 files changed, 65 insertions, 0 deletions
diff --git a/jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml b/jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml
new file mode 100644
index 0000000..b12ec55
--- /dev/null
+++ b/jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml
@@ -0,0 +1,65 @@
+---
+- project:
+ name: "ob-ctl"
+ jobs:
+ - "ob-ctl-{action}-{branch}":
+ branch: "unstable"
+ action: "stop"
+ - "ob-ctl-{action}-{branch}":
+ branch: "unstable"
+ action: "start"
+ - "ob-ctl-{action}-{branch}":
+ branch: "unstable"
+ action: "restart"
+ - "ob-ctl-{action}-{branch}":
+ branch: "develop"
+ action: "stop"
+ - "ob-ctl-{action}-{branch}":
+ branch: "develop"
+ action: "start"
+ - "ob-ctl-{action}-{branch}":
+ branch: "develop"
+ action: "restart"
+ - "ob-ctl-{action}-{branch}":
+ branch: "stage"
+ action: "stop"
+ - "ob-ctl-{action}-{branch}":
+ branch: "stage"
+ action: "start"
+ - "ob-ctl-{action}-{branch}":
+ branch: "stage"
+ action: "restart"
+ - "ob-ctl-{action}-{branch}":
+ branch: "master"
+ action: "stop"
+ - "ob-ctl-{action}-{branch}":
+ branch: "master"
+ action: "start"
+ - "ob-ctl-{action}-{branch}":
+ branch: "master"
+ action: "restart"
+
+- job-template:
+ name: "ob-ctl-{action}-{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"
+ - "ob-deploy-branch.*"
+ block_level: 'GLOBAL'
+ queue-scanning: 'BUILDABLE'
+ scm:
+ - git:
+ url: git@github.vcp.vzwnet.com:konstca/openbook-v4-installer.git
+ branches:
+ - master
+ builders:
+ - shell: |
+ ./ob-ctl.sh {branch} {action}