summaryrefslogtreecommitdiff
path: root/jjb/yaml
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-01-17 12:02:52 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-01-17 12:02:52 -0700
commit1e076b7c1140de2e4335853503b7340ec6b2cc05 (patch)
tree818babaa0ae808953fc881052b9acd7b552e6052 /jjb/yaml
parent3cc35ce178da5ca1e99840f18c2e6b7fb9f1cbb2 (diff)
Openbook CI: jenkins job for promoting unstable to develop
Issue: IS-58
Diffstat (limited to 'jjb/yaml')
-rw-r--r--jjb/yaml/verizoncloudplatform.com/ob-promote-branch-pipeline.yaml70
1 files changed, 70 insertions, 0 deletions
diff --git a/jjb/yaml/verizoncloudplatform.com/ob-promote-branch-pipeline.yaml b/jjb/yaml/verizoncloudplatform.com/ob-promote-branch-pipeline.yaml
new file mode 100644
index 0000000..6ebf767
--- /dev/null
+++ b/jjb/yaml/verizoncloudplatform.com/ob-promote-branch-pipeline.yaml
@@ -0,0 +1,70 @@
+---
+- project:
+ name: "ob-promote-branch"
+ jobs:
+ - "ob-promote-branch-{src}-{dest}-ob-pipeline":
+ src: "unstable"
+ dest: "develop"
+ - "ob-promote-branch-{src}-{dest}-ob-pipeline":
+ src: "develop"
+ dest: "stage"
+ - "ob-promote-branch-{src}-{dest}-ob-pipeline":
+ src: "stage"
+ dest: "master"
+
+- job-template:
+ name: "ob-promote-branch-{src}-{dest}-ob-pipeline"
+ project-type: pipeline
+ dsl: |
+ pipeline {{
+ agent {{
+ node {{
+ label "openbook_v4"
+ customWorkspace "workspace/ob-promote-branch-{src}-{dest}"
+ }}
+ }}
+ stages {{
+ stage("openbook-core") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/openbook-core.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ stage("admin-api-server") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/admin-api-server.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ stage("admin-web-ui") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/admin-web-ui.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ stage("customer-api-server") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/customer-api-server.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ stage("customer-web-ui") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/customer-web-ui.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ stage("job-scheduler-server") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/job-scheduler-server.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ stage("workflow-server") {{
+ steps {{
+ git(poll: false, branch: "{dest}", url: "git@github.com:Talligent/workflow-server.git")
+ sh(script: "git push origin {src}:{dest}")
+ }}
+ }}
+ }}
+ }}