diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-10 17:54:32 -0600 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-10 17:54:32 -0600 |
| commit | de6ec2efd6b9ca676b2babdbb5dc98ed8f7d9ef0 (patch) | |
| tree | 84736d585933e08ae87ba87b8c731e92df5c230e /jjb | |
| parent | 9797586697647222eaa863b7656b7b434d1afc9d (diff) | |
many things
Diffstat (limited to 'jjb')
| -rw-r--r-- | jjb/yaml/deploy-dev-env.yaml | 2 | ||||
| -rw-r--r-- | jjb/yaml/openbook-all-pipeline.yaml (renamed from jjb/yaml/openbook-all.yaml) | 7 | ||||
| -rw-r--r-- | jjb/yaml/openbook-core-pipeline.yaml (renamed from jjb/yaml/openbook-core.yaml) | 0 | ||||
| -rw-r--r-- | jjb/yaml/openbook-database-pipeline.yaml | 88 | ||||
| -rw-r--r-- | jjb/yaml/openbook-database.yaml | 21 |
5 files changed, 27 insertions, 91 deletions
diff --git a/jjb/yaml/deploy-dev-env.yaml b/jjb/yaml/deploy-dev-env.yaml index 9c6d704..36f1425 100644 --- a/jjb/yaml/deploy-dev-env.yaml +++ b/jjb/yaml/deploy-dev-env.yaml @@ -17,8 +17,6 @@ - "customer-web-ui-pipeline" - "job-scheduler-server-pipeline" - "workflow-server-pipeline" - - "openbook-core-pipeline" - - "openbook-all-pipeline" scm: - git: url: git@github.com:Talligent/openbook-v4-installer.git diff --git a/jjb/yaml/openbook-all.yaml b/jjb/yaml/openbook-all-pipeline.yaml index eb74abf..c5e3283 100644 --- a/jjb/yaml/openbook-all.yaml +++ b/jjb/yaml/openbook-all-pipeline.yaml @@ -27,12 +27,17 @@ userRemoteConfigs: [ [url: "git@github.com:Talligent/openbook-core.git"] ], - poll: true, + poll: false, changelog: false ] ]) } } + stage("database") { + steps { + build(job: "openbook-database") + } + } stage("admin-api-server") { steps { build(job: "admin-api-server-pipeline") diff --git a/jjb/yaml/openbook-core.yaml b/jjb/yaml/openbook-core-pipeline.yaml index 7a06acf..7a06acf 100644 --- a/jjb/yaml/openbook-core.yaml +++ b/jjb/yaml/openbook-core-pipeline.yaml diff --git a/jjb/yaml/openbook-database-pipeline.yaml b/jjb/yaml/openbook-database-pipeline.yaml deleted file mode 100644 index 06d98c5..0000000 --- a/jjb/yaml/openbook-database-pipeline.yaml +++ /dev/null @@ -1,88 +0,0 @@ ---- -- job: - name: openbook-database-pipeline - project-type: pipeline - dsl: | - pipeline { - agent { - node { - label "master" - } - } - triggers { - pollSCM 'H/5 * * * *' - } - stages { - stage("docker-container") { - agent { - node { - label "openbook_v4" - customWorkspace "workspace/openbook-database" - } - } - steps { - checkout([ - scm: [ - $class: "GitSCM", - branches: [ - [name: "master"] - ], - userRemoteConfigs: [ - [url: "git@github.com:Talligent/openbook-v4-ci.git"] - ], - poll: false, - changelog: false - ] - ]) - sh(script: "./build-docker-containers.sh database") - } - } - stage("fetch-ansible") { - agent { - node { - label "openbook_v4" - customWorkspace "workspace/openbook-v4-installer" - } - } - steps { - checkout([ - scm: [ - $class: "GitSCM", - branches: [ - [name: "master"] - ], - userRemoteConfigs: [ - [url: "git@github.com:Talligent/openbook-v4-installer.git"] - ], - poll: false, - changelog: false - ] - ]) - } - } - stage("sql-script") { - agent { - node { - label "openbook_v4" - customWorkspace "workspace/openbook-database" - } - } - steps { - checkout([ - scm: [ - $class: "GitSCM", - branches: [ - [name: "master"] - ], - userRemoteConfigs: [ - [url: "git@github.com:Talligent/openbook-database.git"] - ], - poll: true, - changelog: false - ] - ]) - sh(script: "./run-ansible-playbook.sh") - } - } - } - } diff --git a/jjb/yaml/openbook-database.yaml b/jjb/yaml/openbook-database.yaml new file mode 100644 index 0000000..7482ed1 --- /dev/null +++ b/jjb/yaml/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@github.com:Talligent/openbook-v4-ci.git + branches: + - master + builders: + - shell: | + ./build-docker-containers.sh database |
