diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-11-28 14:18:16 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-11-28 14:18:16 -0700 |
| commit | f8ec26529bf36d1a8cce1c320308e31bd9cd797f (patch) | |
| tree | cf29d6237ff6455471c1804ed14d45fadf2f7cf0 /jjb | |
| parent | 559b3ee77ebe583dae2984ba1c25ea398693995b (diff) | |
rearranging files to support two remotes
Diffstat (limited to 'jjb')
25 files changed, 628 insertions, 2 deletions
@@ -1,9 +1,9 @@ #!/bin/bash -ini="${1}" +site="${1}" virtualenv venv . venv/bin/activate venv/bin/pip install --upgrade -r requirements.txt -jenkins-jobs --conf "${ini}" update --delete-old yaml/ +jenkins-jobs --conf "${site}.ini" update --delete-old "yaml/${site}" diff --git a/jjb/yaml/pippiandcarlos.com/glance-gateway-if-pipeline.yaml b/jjb/yaml/pippiandcarlos.com/glance-gateway-if-pipeline.yaml new file mode 100644 index 0000000..2353d68 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/glance-gateway-if-pipeline.yaml @@ -0,0 +1,37 @@ +--- +- job: + name: glance-gateway-gg-pipeline + project-type: pipeline + dsl: | + pipeline { + agent { + node { + label "master" + } + } + stages { + stage("checkout-manifests") { + agent { + node { + label "glance_gateway" + customWorkspace "workspace/glance-gateway" + } + } + steps { + git(poll: false, branch: "master", url: "git@pippiandcarlos.com:repos/glance-gateway.git") + } + } + stage("update-images") { + agent { + node { + label "glance_gateway" + customWorkspace "workspace/image-foundry" + } + } + steps { + git(poll: false, branch: "master", url: "git@pippiandcarlos.com:repos/image-foundry.git") + sh(script: "./glance-gateway.sh") + } + } + } + } diff --git a/jjb/yaml/pippiandcarlos.com/glance-gateway.yaml b/jjb/yaml/pippiandcarlos.com/glance-gateway.yaml new file mode 100644 index 0000000..47e7231 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/glance-gateway.yaml @@ -0,0 +1,27 @@ +--- +- job: + name: "glance-gateway" + project-type: freestyle + node: image_foundry + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + - build-blocker: + use-build-blocker: true + blocking-jobs: + - ".*if-pipeline" + block_level: 'GLOBAL' + queue-scanning: 'BUILDABLE' + artifact-days-to-keep: 0 + triggers: + - pollscm: + cron: "H/5 * * * *" + scm: + - git: + url: "git@pippiandcarlos.com:repos/glance-gateway.git" + branches: + - "master" + builders: + - trigger-builds: + - project: "glance-gateway-gg-pipeline" diff --git a/jjb/yaml/pippiandcarlos.com/image-foundry-if-pipeline.yaml b/jjb/yaml/pippiandcarlos.com/image-foundry-if-pipeline.yaml new file mode 100644 index 0000000..1d5f023 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/image-foundry-if-pipeline.yaml @@ -0,0 +1,37 @@ +--- +- job: + name: image-foundry-if-pipeline + project-type: pipeline + dsl: | + pipeline { + agent { + node { + label "master" + } + } + stages { + stage("checkout-elements") { + agent { + node { + label "glance_gateway" + customWorkspace "workspace/image-foundry-pippiandcarlos" + } + } + steps { + git(poll: false, branch: "master", url: "git@pippiandcarlos.com:repos/image-foundry-pippiandcarlos.git") + } + } + stage("diskimage-builder") { + agent { + node { + label "glance_gateway" + customWorkspace "workspace/image-foundry" + } + } + steps { + git(poll: false, branch: "master", url: "git@pippiandcarlos.com:repos/image-foundry.git") + sh(script: "./image-foundry.sh") + } + } + } + } diff --git a/jjb/yaml/pippiandcarlos.com/image-foundry.yaml b/jjb/yaml/pippiandcarlos.com/image-foundry.yaml new file mode 100644 index 0000000..9fbaff2 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/image-foundry.yaml @@ -0,0 +1,42 @@ +--- +- job: + name: "image-foundry" + project-type: freestyle + node: image_foundry + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + triggers: + - pollscm: + cron: "H/5 * * * *" + scm: + - git: + url: "git@pippiandcarlos.com:repos/image-foundry.git" + branches: + - "master" + builders: + - trigger-builds: + - project: "image-foundry-if-pipeline" + +- job: + name: "image-foundry-pippiandarlos" + project-type: freestyle + node: image_foundry + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + triggers: + - pollscm: + cron: "H/5 * * * *" + scm: + - git: + url: "git@pippiandcarlos.com:repos/image-foundry-pippiandcarlos.git" + branches: + - "master" + builders: + - trigger-builds: + - project: "image-foundry-if-pipeline" diff --git a/jjb/yaml/pippiandcarlos.com/ob-ctl.yaml b/jjb/yaml/pippiandcarlos.com/ob-ctl.yaml new file mode 100644 index 0000000..37ac158 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.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@pippiandcarlos.com:repos/openbook-v4-installer.git + branches: + - master + builders: + - shell: | + ./ob-ctl.sh {branch} {action} diff --git a/jjb/yaml/pippiandcarlos.com/ob-deploy-branch.yaml b/jjb/yaml/pippiandcarlos.com/ob-deploy-branch.yaml new file mode 100644 index 0000000..044d871 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/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@pippiandcarlos.com:repos/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/pippiandcarlos.com/openbook-all-ob-pipeline.yaml index f81f8ab..f81f8ab 100644 --- a/jjb/yaml/openbook-all-ob-pipeline.yaml +++ b/jjb/yaml/pippiandcarlos.com/openbook-all-ob-pipeline.yaml diff --git a/jjb/yaml/pippiandcarlos.com/openbook-baseimage.yaml b/jjb/yaml/pippiandcarlos.com/openbook-baseimage.yaml new file mode 100644 index 0000000..2ab74bb --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/openbook-baseimage.yaml @@ -0,0 +1,21 @@ +--- +- job: + name: openbook-baseimage + project-type: freestyle + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + triggers: + - pollscm: + cron: "H/5 * * * *" + scm: + - git: + url: git@pippiandcarlos.com:repos/openbook-v4-ci.git + branches: + - master + builders: + - shell: | + ./build-docker-containers.sh baseimage unstable diff --git a/jjb/yaml/openbook-core-ob-pipeline.yaml b/jjb/yaml/pippiandcarlos.com/openbook-core-ob-pipeline.yaml index 32669ab..32669ab 100644 --- a/jjb/yaml/openbook-core-ob-pipeline.yaml +++ b/jjb/yaml/pippiandcarlos.com/openbook-core-ob-pipeline.yaml diff --git a/jjb/yaml/pippiandcarlos.com/openbook-database.yaml b/jjb/yaml/pippiandcarlos.com/openbook-database.yaml new file mode 100644 index 0000000..70594de --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/openbook-database.yaml @@ -0,0 +1,21 @@ +--- +- job: + name: openbook-database + project-type: freestyle + node: openbook_v4 + properties: + - build-discarder: + days-to-keep: 0 + num-to-keep: 1 + artifact-days-to-keep: 0 + triggers: + - pollscm: + cron: "H/5 * * * *" + scm: + - git: + url: git@pippiandcarlos.com:repos/openbook-v4-ci.git + branches: + - master + builders: + - shell: | + ./build-docker-containers.sh database unstable diff --git a/jjb/yaml/pippiandcarlos.com/openbook-ob-pipeline.yaml b/jjb/yaml/pippiandcarlos.com/openbook-ob-pipeline.yaml new file mode 100644 index 0000000..cd09544 --- /dev/null +++ b/jjb/yaml/pippiandcarlos.com/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@pippiandcarlos.com:repos/openbook-v4-ci.git") + sh(script: "./build-docker-containers.sh {artifact} {branch}") + }} + }} + }} + }} diff --git a/jjb/yaml/openbook.yaml b/jjb/yaml/pippiandcarlos.com/openbook.yaml index 0eb9c3a..0eb9c3a 100644 --- a/jjb/yaml/openbook.yaml +++ b/jjb/yaml/pippiandcarlos.com/openbook.yaml diff --git a/jjb/yaml/glance-gateway-if-pipeline.yaml b/jjb/yaml/verizoncloudplatform.com/glance-gateway-if-pipeline.yaml index 98ca417..98ca417 100644 --- a/jjb/yaml/glance-gateway-if-pipeline.yaml +++ b/jjb/yaml/verizoncloudplatform.com/glance-gateway-if-pipeline.yaml diff --git a/jjb/yaml/glance-gateway.yaml b/jjb/yaml/verizoncloudplatform.com/glance-gateway.yaml index f56ad24..f56ad24 100644 --- a/jjb/yaml/glance-gateway.yaml +++ b/jjb/yaml/verizoncloudplatform.com/glance-gateway.yaml diff --git a/jjb/yaml/image-foundry-if-pipeline.yaml b/jjb/yaml/verizoncloudplatform.com/image-foundry-if-pipeline.yaml index 119fca4..119fca4 100644 --- a/jjb/yaml/image-foundry-if-pipeline.yaml +++ b/jjb/yaml/verizoncloudplatform.com/image-foundry-if-pipeline.yaml diff --git a/jjb/yaml/image-foundry.yaml b/jjb/yaml/verizoncloudplatform.com/image-foundry.yaml index db35f51..db35f51 100644 --- a/jjb/yaml/image-foundry.yaml +++ b/jjb/yaml/verizoncloudplatform.com/image-foundry.yaml diff --git a/jjb/yaml/ob-ctl.yaml b/jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml index b12ec55..b12ec55 100644 --- a/jjb/yaml/ob-ctl.yaml +++ b/jjb/yaml/verizoncloudplatform.com/ob-ctl.yaml diff --git a/jjb/yaml/ob-deploy-branch.yaml b/jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml index ef7c736..ef7c736 100644 --- a/jjb/yaml/ob-deploy-branch.yaml +++ b/jjb/yaml/verizoncloudplatform.com/ob-deploy-branch.yaml diff --git a/jjb/yaml/verizoncloudplatform.com/openbook-all-ob-pipeline.yaml b/jjb/yaml/verizoncloudplatform.com/openbook-all-ob-pipeline.yaml new file mode 100644 index 0000000..f81f8ab --- /dev/null +++ b/jjb/yaml/verizoncloudplatform.com/openbook-all-ob-pipeline.yaml @@ -0,0 +1,75 @@ +--- +- 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("baseimage") {{ + steps {{ + build(job: "openbook-baseimage") + }} + }} + stage("database") {{ + steps {{ + build(job: "openbook-database") + }} + }} + 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-baseimage.yaml b/jjb/yaml/verizoncloudplatform.com/openbook-baseimage.yaml index d42cd60..d42cd60 100644 --- a/jjb/yaml/openbook-baseimage.yaml +++ b/jjb/yaml/verizoncloudplatform.com/openbook-baseimage.yaml diff --git a/jjb/yaml/verizoncloudplatform.com/openbook-core-ob-pipeline.yaml b/jjb/yaml/verizoncloudplatform.com/openbook-core-ob-pipeline.yaml new file mode 100644 index 0000000..32669ab --- /dev/null +++ b/jjb/yaml/verizoncloudplatform.com/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-database.yaml b/jjb/yaml/verizoncloudplatform.com/openbook-database.yaml index dd5bcda..dd5bcda 100644 --- a/jjb/yaml/openbook-database.yaml +++ b/jjb/yaml/verizoncloudplatform.com/openbook-database.yaml diff --git a/jjb/yaml/openbook-ob-pipeline.yaml b/jjb/yaml/verizoncloudplatform.com/openbook-ob-pipeline.yaml index a8ab511..a8ab511 100644 --- a/jjb/yaml/openbook-ob-pipeline.yaml +++ b/jjb/yaml/verizoncloudplatform.com/openbook-ob-pipeline.yaml diff --git a/jjb/yaml/verizoncloudplatform.com/openbook.yaml b/jjb/yaml/verizoncloudplatform.com/openbook.yaml new file mode 100644 index 0000000..0eb9c3a --- /dev/null +++ b/jjb/yaml/verizoncloudplatform.com/openbook.yaml @@ -0,0 +1,67 @@ +--- +- 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: "customer-api-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "customer-api-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "admin-web-ui" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "admin-web-ui" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "customer-web-ui" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "customer-web-ui" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "job-scheduler-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "job-scheduler-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "workflow-server" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "workflow-server" + branch: "develop" + - "openbook-{artifact}-{branch}": + artifact: "openbook-core" + branch: "unstable" + - "openbook-{artifact}-{branch}": + artifact: "openbook-core" + branch: "develop" + +- 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: + - pollscm: + cron: "H/5 * * * *" + scm: + - git: + url: "git@github.com:Talligent/{artifact}.git" + branches: + - "{branch}" + builders: + - trigger-builds: + - project: "{artifact}-{branch}-ob-pipeline" |
