summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-11 02:00:38 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-11 02:00:38 +0200
commit5461023c2b4bdadb8dcd62cd166debbd490a511f (patch)
tree1707539044a183bb3fe37c2a17277d03381474a9 /job-cfg
parent179b38d698a1f4290de9b604fd85ca8c060ca22b (diff)
downloadjenkins.debian.net-5461023c2b4bdadb8dcd62cd166debbd490a511f.tar.xz
lintian-tests: only test sid on git commits, and only if that job succeeds, trigger the lintian test on jessie and if that succeeds, trigger it on wheezy.
Diffstat (limited to 'job-cfg')
-rw-r--r--job-cfg/lintian-tests.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/job-cfg/lintian-tests.yaml b/job-cfg/lintian-tests.yaml
index c238bb57..400fadfc 100644
--- a/job-cfg/lintian-tests.yaml
+++ b/job-cfg/lintian-tests.yaml
@@ -25,8 +25,6 @@
url: '{gitrepo}'
branches:
- master
- triggers:
- - pollscm: '*/6 * * * *'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
publishers:
@@ -40,10 +38,18 @@
- job-template:
defaults: lintian-tests
name: '{name}_jessie'
+ publishers:
+ - trigger:
+ project: '{name}_wheezy'
- job-template:
defaults: lintian-tests
name: '{name}_sid'
+ triggers:
+ - pollscm: '*/6 * * * *'
+ publishers:
+ - trigger:
+ project: '{name}_jessie'
- project:
name: lintian-tests
@@ -55,7 +61,6 @@
my_shell: 'debian/rules runtests'
my_description: 'Debian/Lintian testsuite running on sid.'
my_recipients: 'jenkins+debian-qa holger@layer-acht.org lintian-maint@debian.org'
-
- '{name}_jessie':
my_distro: 'jessie'
my_shell: 'debian/rules runtests'