diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-27 15:40:54 -0600 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2017-10-27 15:40:54 -0600 |
| commit | fcc50ee03d250f7ff8fb7b1e47e484d09d6fb727 (patch) | |
| tree | b676b2ab5d6eb0d17314fb052d06b3e7746d5ec9 | |
| parent | 60813668ebed81160b7c8307571f5a1de9b8848e (diff) | |
jenkins scripting
| -rwxr-xr-x | ci-script.sh | 4 | ||||
| -rw-r--r-- | jjb/yaml/image-foundry.yaml | 25 |
2 files changed, 29 insertions, 0 deletions
diff --git a/ci-script.sh b/ci-script.sh new file mode 100755 index 0000000..da020de --- /dev/null +++ b/ci-script.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +. /var/lib/jenkins/openrc-imagefoundry.sh +./ci-script.py diff --git a/jjb/yaml/image-foundry.yaml b/jjb/yaml/image-foundry.yaml new file mode 100644 index 0000000..05b484d --- /dev/null +++ b/jjb/yaml/image-foundry.yaml @@ -0,0 +1,25 @@ +--- +- job: + name: image-foundry + project-type: pipeline + dsl: | + pipeline { + agent { + node { + label "image_foundry" + } + } + stages { + stage("checkout-elements") { + steps { + git(poll: true, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry-vzw.git") + } + } + stage("diskimage-builder") { + steps { + git(poll: true, branch: "master", url: "git@github.vcp.vzwnet.com:konstca/image-foundry.git") + sh(script: "./ci-script.sh") + } + } + } + } |
