summaryrefslogtreecommitdiff
path: root/jjb/yaml/openbook-all-pipeline.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yaml/openbook-all-pipeline.yaml')
-rw-r--r--jjb/yaml/openbook-all-pipeline.yaml116
1 files changed, 63 insertions, 53 deletions
diff --git a/jjb/yaml/openbook-all-pipeline.yaml b/jjb/yaml/openbook-all-pipeline.yaml
index 1c5fbca..42ed780 100644
--- a/jjb/yaml/openbook-all-pipeline.yaml
+++ b/jjb/yaml/openbook-all-pipeline.yaml
@@ -1,60 +1,70 @@
---
-- job:
- name: openbook-all-pipeline
+- project:
+ name: "openbook-all-pipeline"
+ branch:
+ - "unstable"
+ - "develop"
+ - "stage"
+ - "master"
+ jobs:
+ - "openbook-all-{branch}-pipeline"
+
+- job-template:
+ name: "openbook-all-{branch}-pipeline"
project-type: pipeline
dsl: |
- pipeline {
- agent {
- node {
+ pipeline {{
+ agent {{
+ node {{
label "master"
- }
- }
- stages {
- stage("checkout") {
- agent {
- node {
+ }}
+ }}
+ stages {{
+ stage("checkout") {{
+ agent {{
+ node {{
label "openbook_v4"
customWorkspace "workspace/openbook-all"
- }
- }
- steps {
- git(poll: false, branch: "unstable", url: "git@github.com:Talligent/openbook-core.git")
- }
- }
- stage("database") {
- steps {
+ }}
+ }}
+ steps {{
+ git(poll: false, branch: "{branch}", url: "git@github.com:Talligent/openbook-core.git")
+ }}
+ }}
+ stage("database") {{
+ steps {{
build(job: "openbook-database")
- }
- }
- stage("admin-api-server") {
- steps {
- build(job: "admin-api-server-pipeline")
- }
- }
- stage("customer-api-server") {
- steps {
- build(job: "customer-api-server-pipeline")
- }
- }
- stage("admin-web-ui") {
- steps {
- build(job: "admin-web-ui-pipeline")
- }
- }
- stage("customer-web-ui") {
- steps {
- build(job: "customer-web-ui-pipeline")
- }
- }
- stage("job-scheduler-server") {
- steps {
- build(job: "job-scheduler-server-pipeline")
- }
- }
- stage("workflow-server") {
- steps {
- build(job: "workflow-server-pipeline")
- }
- }
- }
- }
+ }}
+ }}
+ stage("admin-api-server") {{
+ steps {{
+ build(job: "admin-api-server-{branch}-pipeline")
+ }}
+ }}
+ stage("customer-api-server") {{
+ steps {{
+ build(job: "customer-api-server-{branch}-pipeline")
+ }}
+ }}
+ stage("admin-web-ui") {{
+ steps {{
+ build(job: "admin-web-ui-{branch}-pipeline")
+ }}
+ }}
+ stage("customer-web-ui") {{
+ steps {{
+ build(job: "customer-web-ui-{branch}-pipeline")
+ }}
+ }}
+ stage("job-scheduler-server") {{
+ steps {{
+ build(job: "job-scheduler-server-{branch}-pipeline")
+ }}
+ }}
+ stage("workflow-server") {{
+ steps {{
+ build(job: "workflow-server-{branch}-pipeline")
+ }}
+ }}
+ }}
+ }}