summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci-script.sh4
-rw-r--r--jjb/yaml/image-foundry.yaml25
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")
+ }
+ }
+ }
+ }