From 135eb98b29c63ea46d056226e2fa0c3f1d74e44a Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Mon, 30 Oct 2017 15:36:48 -0600 Subject: IS-29 and IS-30 --- jjb/yaml/deploy-branch.yaml | 43 --------- jjb/yaml/image-foundry-if-pipeline.yaml | 25 +++++ jjb/yaml/ob-deploy-branch.yaml | 43 +++++++++ jjb/yaml/openbook-all-ob-pipeline.yaml | 65 +++++++++++++ jjb/yaml/openbook-all-pipeline.yaml | 70 -------------- jjb/yaml/openbook-core-ob-pipeline.yaml | 55 +++++++++++ jjb/yaml/openbook-core-pipeline.yaml | 61 ------------ jjb/yaml/openbook-ob-pipeline.yaml | 136 +++++++++++++++++++++++++++ jjb/yaml/openbook-pipeline.yaml | 160 -------------------------------- jjb/yaml/openbook.yaml | 108 +++++++++++++++++++++ 10 files changed, 432 insertions(+), 334 deletions(-) delete mode 100644 jjb/yaml/deploy-branch.yaml create mode 100644 jjb/yaml/image-foundry-if-pipeline.yaml create mode 100644 jjb/yaml/ob-deploy-branch.yaml create mode 100644 jjb/yaml/openbook-all-ob-pipeline.yaml delete mode 100644 jjb/yaml/openbook-all-pipeline.yaml create mode 100644 jjb/yaml/openbook-core-ob-pipeline.yaml delete mode 100644 jjb/yaml/openbook-core-pipeline.yaml create mode 100644 jjb/yaml/openbook-ob-pipeline.yaml delete mode 100644 jjb/yaml/openbook-pipeline.yaml create mode 100644 jjb/yaml/openbook.yaml (limited to 'jjb/yaml') diff --git a/jjb/yaml/deploy-branch.yaml b/jjb/yaml/deploy-branch.yaml deleted file mode 100644 index a8a3746..0000000 --- a/jjb/yaml/deploy-branch.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -- project: - name: "deploy-branch" - branch: - - "unstable" - - "develop" - - "stage" - - "master" - jobs: - - "deploy-branch-{branch}" - -- job-template: - name: "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: - - ".*-pipeline" - block_level: 'GLOBAL' - queue-scanning: 'BUILDABLE' - triggers: - - reverse: - jobs: - - "admin-api-server-{branch}-pipeline" - - "admin-web-ui-{branch}-pipeline" - - "customer-api-server-{branch}-pipeline" - - "customer-web-ui-{branch}-pipeline" - - "job-scheduler-server-{branch}-pipeline" - - "workflow-server-{branch}-pipeline" - scm: - - git: - url: git@github.com:Talligent/openbook-v4-installer.git - branches: - - master - builders: - - shell: | - ./deploy-branch.sh {branch} diff --git a/jjb/yaml/image-foundry-if-pipeline.yaml b/jjb/yaml/image-foundry-if-pipeline.yaml new file mode 100644 index 0000000..c4e90dc --- /dev/null +++ b/jjb/yaml/image-foundry-if-pipeline.yaml @@ -0,0 +1,25 @@ +--- +- job: + name: image-foundry-if-pipeline + project-type: pipeline + dsl: | + pipeline { + agent { + node { + label "image_foundry" + } + } + stages { + stage("checkout-elements") { + steps { + git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry-vzw.git") + } + } + stage("diskimage-builder") { + steps { + git(poll: false, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry.git") + sh(script: "./ci-script.sh") + } + } + } + } diff --git a/jjb/yaml/ob-deploy-branch.yaml b/jjb/yaml/ob-deploy-branch.yaml new file mode 100644 index 0000000..277e749 --- /dev/null +++ b/jjb/yaml/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.com:Talligent/openbook-v4-installer.git + branches: + - master + builders: + - shell: | + ./ob-deploy-branch.sh {branch} diff --git a/jjb/yaml/openbook-all-ob-pipeline.yaml b/jjb/yaml/openbook-all-ob-pipeline.yaml new file mode 100644 index 0000000..eb56bc1 --- /dev/null +++ b/jjb/yaml/openbook-all-ob-pipeline.yaml @@ -0,0 +1,65 @@ +--- +- project: + name: "openbook-all-ob-pipeline" + branch: + - "unstable" + - "develop" + - "stage" + - "master" + jobs: + - "openbook-all-{branch}-ob-pipeline" + +- job-template: + name: "openbook-all-{branch}-ob-pipeline" + project-type: pipeline + dsl: | + pipeline {{ + agent {{ + node {{ + label "master" + }} + }} + stages {{ + stage("checkout") {{ + agent {{ + node {{ + label "openbook_v4" + customWorkspace "workspace/openbook-core" + }} + }} + steps {{ + git(poll: false, branch: "{branch}", url: "git@github.com:Talligent/openbook-core.git") + }} + }} + stage("admin-api-server") {{ + steps {{ + build(job: "admin-api-server-{branch}-ob-pipeline") + }} + }} + stage("customer-api-server") {{ + steps {{ + build(job: "customer-api-server-{branch}-ob-pipeline") + }} + }} + stage("admin-web-ui") {{ + steps {{ + build(job: "admin-web-ui-{branch}-ob-pipeline") + }} + }} + stage("customer-web-ui") {{ + steps {{ + build(job: "customer-web-ui-{branch}-ob-pipeline") + }} + }} + stage("job-scheduler-server") {{ + steps {{ + build(job: "job-scheduler-server-{branch}-ob-pipeline") + }} + }} + stage("workflow-server") {{ + steps {{ + build(job: "workflow-server-{branch}-ob-pipeline") + }} + }} + }} + }} diff --git a/jjb/yaml/openbook-all-pipeline.yaml b/jjb/yaml/openbook-all-pipeline.yaml deleted file mode 100644 index ad0fdbe..0000000 --- a/jjb/yaml/openbook-all-pipeline.yaml +++ /dev/null @@ -1,70 +0,0 @@ ---- -- 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 {{ - label "master" - }} - }} - stages {{ - stage("checkout") {{ - agent {{ - node {{ - label "openbook_v4" - customWorkspace "workspace/openbook-core" - }} - }} - 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-{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") - }} - }} - }} - }} diff --git a/jjb/yaml/openbook-core-ob-pipeline.yaml b/jjb/yaml/openbook-core-ob-pipeline.yaml new file mode 100644 index 0000000..32669ab --- /dev/null +++ b/jjb/yaml/openbook-core-ob-pipeline.yaml @@ -0,0 +1,55 @@ +--- +- project: + name: "openbook-core-ob-pipeline" + branch: + - "unstable" + - "develop" + - "stage" + - "master" + jobs: + - "openbook-core-{branch}-ob-pipeline" + +- job-template: + name: "openbook-core-{branch}-ob-pipeline" + project-type: pipeline + dsl: | + pipeline {{ + agent {{ + node {{ + label "master" + }} + }} + stages {{ + stage("checkout") {{ + agent {{ + node {{ + label "openbook_v4" + customWorkspace "workspace/openbook-core" + }} + }} + steps {{ + git(poll: false, branch: "{branch}", url: "git@github.com:Talligent/openbook-core.git") + }} + }} + stage("admin-api-server") {{ + steps {{ + build(job: "admin-api-server-{branch}-ob-pipeline") + }} + }} + stage("customer-api-server") {{ + steps {{ + build(job: "customer-api-server-{branch}-ob-pipeline") + }} + }} + stage("job-scheduler-server") {{ + steps {{ + build(job: "job-scheduler-server-{branch}-ob-pipeline") + }} + }} + stage("workflow-server") {{ + steps {{ + build(job: "workflow-server-{branch}-ob-pipeline") + }} + }} + }} + }} diff --git a/jjb/yaml/openbook-core-pipeline.yaml b/jjb/yaml/openbook-core-pipeline.yaml deleted file mode 100644 index 991837b..0000000 --- a/jjb/yaml/openbook-core-pipeline.yaml +++ /dev/null @@ -1,61 +0,0 @@ ---- -- project: - name: "openbook-core-pipeline" - jobs: - - "openbook-core-{branch}-pipeline": - branch: "unstable" - poll: "true" - - "openbook-core-{branch}-pipeline": - branch: "develop" - poll: "true" - - "openbook-core-{branch}-pipeline": - branch: "stage" - poll: "false" - - "openbook-core-{branch}-pipeline": - branch: "master" - poll: "false" - -- job-template: - name: "openbook-core-{branch}-pipeline" - project-type: pipeline - dsl: | - pipeline {{ - agent {{ - node {{ - label "master" - }} - }} - stages {{ - stage("checkout") {{ - agent {{ - node {{ - label "openbook_v4" - customWorkspace "workspace/openbook-core" - }} - }} - steps {{ - git(poll: {poll}, branch: "{branch}", url: "git@github.com:Talligent/openbook-core.git") - }} - }} - 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("job-scheduler-server") {{ - steps {{ - build(job: "job-scheduler-server-{branch}-pipeline") - }} - }} - stage("workflow-server") {{ - steps {{ - build(job: "workflow-server-{branch}-pipeline") - }} - }} - }} - }} diff --git a/jjb/yaml/openbook-ob-pipeline.yaml b/jjb/yaml/openbook-ob-pipeline.yaml new file mode 100644 index 0000000..657ba39 --- /dev/null +++ b/jjb/yaml/openbook-ob-pipeline.yaml @@ -0,0 +1,136 @@ +--- +- project: + name: "openbook-ob-pipeline" + jobs: + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-api-server" + branch: "unstable" + tag: "4.1" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-api-server" + branch: "develop" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-api-server" + branch: "stage" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-api-server" + branch: "master" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-web-ui" + branch: "unstable" + tag: "4.1" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-web-ui" + branch: "develop" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-web-ui" + branch: "stage" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "admin-web-ui" + branch: "master" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-api-server" + branch: "unstable" + tag: "4.1" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-api-server" + branch: "develop" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-api-server" + branch: "stage" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-api-server" + branch: "master" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-web-ui" + branch: "unstable" + tag: "4.1" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-web-ui" + branch: "develop" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-web-ui" + branch: "stage" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "customer-web-ui" + branch: "master" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "job-scheduler-server" + branch: "unstable" + tag: "4.1" + - "{artifact}-{branch}-ob-pipeline": + artifact: "job-scheduler-server" + branch: "develop" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "job-scheduler-server" + branch: "stage" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "job-scheduler-server" + branch: "master" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "workflow-server" + branch: "unstable" + tag: "4.1" + - "{artifact}-{branch}-ob-pipeline": + artifact: "workflow-server" + branch: "develop" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "workflow-server" + branch: "stage" + tag: "4.0" + - "{artifact}-{branch}-ob-pipeline": + artifact: "workflow-server" + branch: "master" + tag: "4.0" + +- job-template: + name: "{artifact}-{branch}-ob-pipeline" + project-type: pipeline + dsl: | + pipeline {{ + agent {{ + node {{ + label "openbook_v4" + customWorkspace "workspace/{artifact}" + }} + }} + stages {{ + stage("gradle") {{ + steps {{ + git(poll: false, branch: "{branch}", url: "git@github.com:Talligent/{artifact}.git") + sh(script: "/var/lib/jenkins/find_next_tag.sh \$(pwd) {artifact} {tag}") + sh(script: "./gradlew -PbuildNumber=\$(cat /tmp/newtag_{artifact}) -PbuildMode=buildProd -Dorg.gradle.daemon=false clean shadowJar") + stash(includes: "build/libs/*.jar", name: "jar") + }} + }} + stage("upload-jar") {{ + steps {{ + git(poll: false, branch: "master", url: "git@github.com:Talligent/deployment-scripts.git") + unstash(name: "jar") + sh(script: "ruby openbook/ruby/upload_jar.rb --webdav-url=${{WEBDAV_URL}} --webdav-username=${{WEBDAV_USERNAME}} --webdav-password=${{WEBDAV_PASSWORD}} --artifact={artifact} --branch={branch} --version=\$(cat /tmp/newtag_{artifact}) --filepath=build/libs/{artifact}.\$(cat /tmp/newtag_{artifact}).jar") + }} + }} + stage("docker-container") {{ + steps {{ + git(poll: false, branch: "master", url: "git@github.com:Talligent/openbook-v4-ci.git") + sh(script: "./build-docker-containers.sh {artifact} {branch}") + }} + }} + }} + }} diff --git a/jjb/yaml/openbook-pipeline.yaml b/jjb/yaml/openbook-pipeline.yaml deleted file mode 100644 index 8b1b84b..0000000 --- a/jjb/yaml/openbook-pipeline.yaml +++ /dev/null @@ -1,160 +0,0 @@ ---- -- project: - name: "openbook-pipeline" - jobs: - - "{artifact}-{branch}-pipeline": - artifact: "admin-api-server" - branch: "unstable" - tag: "4.1" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "admin-api-server" - branch: "develop" - tag: "4.0" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "admin-api-server" - branch: "stage" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "admin-api-server" - branch: "master" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "admin-web-ui" - branch: "unstable" - tag: "4.1" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "admin-web-ui" - branch: "develop" - tag: "4.0" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "admin-web-ui" - branch: "stage" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "admin-web-ui" - branch: "master" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "customer-api-server" - branch: "unstable" - tag: "4.1" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "customer-api-server" - branch: "develop" - tag: "4.0" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "customer-api-server" - branch: "stage" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "customer-api-server" - branch: "master" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "customer-web-ui" - branch: "unstable" - tag: "4.1" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "customer-web-ui" - branch: "develop" - tag: "4.0" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "customer-web-ui" - branch: "stage" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "customer-web-ui" - branch: "master" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "job-scheduler-server" - branch: "unstable" - tag: "4.1" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "job-scheduler-server" - branch: "develop" - tag: "4.0" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "job-scheduler-server" - branch: "stage" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "job-scheduler-server" - branch: "master" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "workflow-server" - branch: "unstable" - tag: "4.1" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "workflow-server" - branch: "develop" - tag: "4.0" - poll: "true" - - "{artifact}-{branch}-pipeline": - artifact: "workflow-server" - branch: "stage" - tag: "4.0" - poll: "false" - - "{artifact}-{branch}-pipeline": - artifact: "workflow-server" - branch: "master" - tag: "4.0" - poll: "false" - -- job-template: - name: "{artifact}-{branch}-pipeline" - project-type: pipeline - dsl: | - pipeline {{ - agent {{ - node {{ - label "openbook_v4" - customWorkspace "workspace/{artifact}" - }} - }} - stages {{ - stage("gradle") {{ - steps {{ - git(poll: {poll}, branch: "{branch}", url: "git@github.com:Talligent/{artifact}.git") - sh(script: "/var/lib/jenkins/find_next_tag.sh \$(pwd) {artifact} {tag}") - sh(script: "./gradlew -PbuildNumber=\$(cat /tmp/newtag_{artifact}) -PbuildMode=buildProd -Dorg.gradle.daemon=false clean shadowJar") - stash(includes: "build/libs/*.jar", name: "jar") - }} - }} - stage("upload-jar") {{ - steps {{ - git(poll: false, branch: "master", url: "git@github.com:Talligent/deployment-scripts.git") - unstash(name: "jar") - sh(script: "ruby openbook/ruby/upload_jar.rb --webdav-url=${{WEBDAV_URL}} --webdav-username=${{WEBDAV_USERNAME}} --webdav-password=${{WEBDAV_PASSWORD}} --artifact={artifact} --branch={branch} --version=\$(cat /tmp/newtag_{artifact}) --filepath=build/libs/{artifact}.\$(cat /tmp/newtag_{artifact}).jar") - }} - }} - stage("docker-container") {{ - steps {{ - git(poll: false, branch: "master", url: "git@github.com:Talligent/openbook-v4-ci.git") - sh(script: "./build-docker-containers.sh {artifact} {branch}") - }} - }} - }} - }} diff --git a/jjb/yaml/openbook.yaml b/jjb/yaml/openbook.yaml new file mode 100644 index 0000000..1e17a68 --- /dev/null +++ b/jjb/yaml/openbook.yaml @@ -0,0 +1,108 @@ +--- +- project: + name: "openobok" + jobs: + - "openbook-{artifact}-{branch}": + artifact: "admin-api-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "admin-api-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "admin-api-server" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "admin-api-server" + branch: "master" + - "openbook-{artifact}-{branch}": + artifact: "customer-api-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "customer-api-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "customer-api-server" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "customer-api-server" + branch: "master" + - "openbook-{artifact}-{branch}": + artifact: "admin-web-ui" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "admin-web-ui" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "admin-web-ui" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "admin-web-ui" + branch: "master" + - "openbook-{artifact}-{branch}": + artifact: "customer-web-ui" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "customer-web-ui" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "customer-web-ui" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "customer-web-ui" + branch: "master" + - "openbook-{artifact}-{branch}": + artifact: "job-scheduler-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "job-scheduler-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "job-scheduler-server" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "job-scheduler-server" + branch: "master" + - "openbook-{artifact}-{branch}": + artifact: "workflow-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "workflow-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "workflow-server" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "workflow-server" + branch: "master" + - "openbook-{artifact}-{branch}": + artifact: "openbook-core" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "openbook-core" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "openbook-core" + branch: "stage" + - "openbook-{artifact}-{branch}": + artifact: "openbook-core" + branch: "master" + +- job-template: + name: "openbook-{artifact}-{branch}" + project-type: freestyle + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + triggers: + - github + scm: + - git: + url: "git@github.com:Talligent/{artifact}.git" + branches: + - "{branch}" + builders: + - trigger-builds: + - project: "{artifact}-{branch}-ob-pipeline" -- cgit v1.3