From 5461023c2b4bdadb8dcd62cd166debbd490a511f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 11 Apr 2014 02:00:38 +0200 Subject: 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. --- job-cfg/lintian-tests.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'job-cfg') 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' -- cgit v1.2.3-70-g09d2