- defaults: &DEFAULTS
name: packages-tests
my_disabled:
disabled: '{obj:my_disabled}'
my_trigger:
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/**'
my_origin_triggers:
triggers: '{obj:my_origin_triggers}'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
publishers:
- email:
recipients: 'qa-jenkins-scm@lists.alioth.debian.org {my_recipients}'
send-to-individuals: true
- 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}_sid'
my_origin_triggers:
- pollscm:
cron: '* H/2 * * *'
- job-template:
defaults: packages-tests
name: '{name}_stretch'
- job-template:
defaults: packages-tests
name: '{name}_jessie'
- 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'
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'
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
- project:
name: dak-tests
my_git_url: 'https://ftp-master.debian.org/git/dak.git'
my_recipients: 'jenkins+debian-ftp debian-dak@lists.debian.org'
my_shell: 'timeout 1h dpkg-buildpackage -us -uc -tc'
my_description: 'DAK testsuite'
jobs:
# DAK tests cannot be run in sid/stretch atm.
- '{name}_sid':
my_distro: 'sid'
my_disabled: true
- '{name}_stretch':
my_distro: 'stretch'
my_disabled: true
- '{name}_jessie':
my_distro: 'jessie'
my_origin_triggers:
- pollscm:
cron: '* H/2 * * *'