summaryrefslogtreecommitdiff
path: root/jjb/yaml/verizoncloudplatform.com
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yaml/verizoncloudplatform.com')
-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}")
+ }}
+ }}
+ }}
+ }}