- defaults:
name: packages-tests
my_disabled:
disabled: '{obj:my_disabled}'
project-type: freestyle
properties:
- sidebar:
url: https://jenkins.debian.net/userContent/about.html
text: About jenkins.debian.net
icon: /userContent/images/debian-swirl-24x24.png
- sidebar:
url: https://jenkins.debian.net/view/qa.debian.org/
text: Jobs for Debian QA related packages
icon: /userContent/images/debian-jenkins-24x24.png
- sidebar:
url: http://www.profitbricks.co.uk
text: Sponsored by Profitbricks
icon: /userContent/images/profitbricks-24x24.png
description: '{my_description} running on {my_distro}.
Job configuration source is packages-tests.yaml.'
logrotate:
daysToKeep: 90
numToKeep: 30
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: '{my_git_url}'
branches:
- master
- 'origin/smoke-me/**'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
publishers:
- email:
recipients: 'qa-jenkins-scm@lists.alioth.debian.org {my_recipients}'
- trigger:
project: '{my_trigger}'
- naginator:
progressive-delay-increment: 5
progressive-delay-maximum: 15
max-failed-builds: 5
regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
- job-template:
defaults: packages-tests
name: '{name}_stretch'
- job-template:
defaults: packages-tests
name: '{name}_jessie'
- job-template:
defaults: packages-tests
name: '{name}_sid'
triggers:
- pollscm:
cron: '* H/2 * * *'
- project:
name: lintian-tests
my_git_url: 'git://anonscm.debian.org/lintian/lintian.git'
my_recipients: 'jenkins+debian-qa lintian-maint@debian.org'
my_shell: 'timeout 6h debian/rules runtests'
my_description: 'Debian/Lintian testsuite'
my_trigger:
jobs:
- '{name}_sid':
my_distro: 'sid'
my_trigger: '{name}_stretch'
- '{name}_stretch':
my_distro: 'stretch'
my_trigger: '{name}_jessie'
- '{name}_jessie':
my_distro: 'jessie'
- project:
name: debhelper-tests
my_git_url: 'git://anonscm.debian.org/debhelper/debhelper.git'
my_recipients: 'jenkins+debian-qa debhelper-devel@lists.alioth.debian.org'
my_shell: 'timeout 6h dpkg-buildpackage -us -uc -tc'
my_description: 'Debhelper testsuite'
my_trigger:
jobs:
- '{name}_sid':
my_distro: 'sid'
my_trigger: '{name}_stretch'
- '{name}_stretch':
my_distro: 'stretch'
my_trigger: '{name}_jessie'
- '{name}_jessie':
my_distro: 'jessie'
my_disabled: true