summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-12 11:53:24 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-12 11:53:52 -0800
commit741caff3db38a5f68f06cb8dd485b6d6090519fc (patch)
tree3222bc222b54c838f64234783c1cd89fd7da427c /jjb
parent09379cdd68dff65e48271611258c86c710eff690 (diff)
External job template for lab jobs
Change-Id: I023e1c08cb76952d1ddfbff078d70f4f3d3baf25 Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/lab/lab-templates.yaml5
-rw-r--r--jjb/lab/lab.yaml12
2 files changed, 17 insertions, 0 deletions
diff --git a/jjb/lab/lab-templates.yaml b/jjb/lab/lab-templates.yaml
new file mode 100644
index 000000000..12bc88bd9
--- /dev/null
+++ b/jjb/lab/lab-templates.yaml
@@ -0,0 +1,5 @@
+---
+- job-template:
+ name: 'lab-{lab-name}-{env-name}-{job-name}'
+ disabled: false
+ project-type: externaljob
diff --git a/jjb/lab/lab.yaml b/jjb/lab/lab.yaml
new file mode 100644
index 000000000..fde9b7e79
--- /dev/null
+++ b/jjb/lab/lab.yaml
@@ -0,0 +1,12 @@
+---
+- project:
+ name: lab
+ jobs:
+ - 'lab-{lab-name}-{env-name}-{job-name}'
+ lab-name:
+ - "windriver"
+ env-name:
+ - "jenkins"
+ job-name:
+ - "deploy"
+ - "healthcheck"