summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-04-22 14:04:24 +0200
committerGuido Günther <agx@sigxcpu.org>2014-04-22 14:04:24 +0200
commit27b69aa707eb7a14df72f6be4a1f491c5c7e84e4 (patch)
treec04d0eda3ba5347bcab2f41048a51b199c312e6e
parent4194736c092119acba58625b9fac3384472167fd (diff)
Split out generic templates
-rw-r--r--autotools_templates.yaml (renamed from jobtemplates.yaml)34
-rw-r--r--templates.yaml18
2 files changed, 34 insertions, 18 deletions
diff --git a/jobtemplates.yaml b/autotools_templates.yaml
index 93eae5c..517a0e6 100644
--- a/jobtemplates.yaml
+++ b/autotools_templates.yaml
@@ -1,22 +1,4 @@
- job-template:
- name: '{name}-clone'
- defaults: global
- scm:
- - git:
- url: 'git://honk.sigxcpu.org/git/{name}.git'
- branches:
- - master
- basedir: '{name}'
- shallow-clone: True
- triggers:
- - pollscm: "* * * * *"
- publishers:
- - trigger:
- project: '{name}-{buildtype}-build'
- - email:
- recipients: '{mail-to}'
-
-- job-template:
name: '{name}-autotools-build'
defaults: global
project-type: freestyle
@@ -55,3 +37,19 @@
make check
- email:
recipients: '{mail-to}'
+
+- job-template:
+ name: '{name}-autotools-distcheck'
+ defaults: global
+ project-type: freestyle
+ disabled: false
+ display-name: '{name} distcheck'
+ concurrent: true
+ workspace: 'jobs/{name}-clone'
+ quiet-period: 0
+ builders:
+ - shell: |
+ cd workspace/{name}
+ make distcheck
+ - email:
+ recipients: '{mail-to}'
diff --git a/templates.yaml b/templates.yaml
new file mode 100644
index 0000000..ff6ba37
--- /dev/null
+++ b/templates.yaml
@@ -0,0 +1,18 @@
+- job-template:
+ name: '{name}-clone'
+ defaults: global
+ scm:
+ - git:
+ url: 'git://honk.sigxcpu.org/git/{name}.git'
+ branches:
+ - master
+ basedir: '{name}'
+ shallow-clone: True
+ triggers:
+ - pollscm: "* * * * *"
+ publishers:
+ - trigger:
+ project: '{name}-{buildtype}-build'
+ - email:
+ recipients: '{mail-to}'
+