- defaults:
name: piuparts
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}
Job configuration source is piuparts.yaml.'
logrotate:
daysToKeep: 90
numToKeep: 20
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: 'git://anonscm.debian.org/piuparts/piuparts.git'
branches:
- develop
- job-template:
defaults: piuparts
name: '{name}_testsuite_wheezy'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_testsuite_jessie'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- trigger:
project: '{my_trigger}'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_testsuite_stretch'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- trigger:
project: '{my_trigger}'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_testsuite_sid'
triggers:
- pollscm: '*/6 * * * *'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- trigger:
project: '{my_trigger}'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_build_wheezy'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- archive:
artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
latest-only: true
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_build_jessie'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- archive:
artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
latest-only: true
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_build_stretch'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- trigger:
project: '{my_trigger}'
- archive:
artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
latest-only: true
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts
name: '{name}_build_sid'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- trigger:
project: '{my_trigger}'
- archive:
artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
latest-only: true
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- project:
name: piuparts
jobs:
- '{name}_testsuite_sid':
my_distro: 'sid'
my_shell: 'make check'
my_description: 'run testsuite from piuparts develop branch on sid.'
my_trigger: 'piuparts_testsuite_stretch, piuparts_build_sid'
- '{name}_testsuite_stretch':
my_distro: 'stretch'
my_shell: 'make check'
my_description: 'run testsuite from piuparts develop branch on stretch.'
my_trigger: 'piuparts_testsuite_jessie'
- '{name}_testsuite_jessie':
my_distro: 'jessie'
my_shell: 'make check'
my_description: 'run testsuite from piuparts develop branch on jessie.'
my_trigger: ''
- '{name}_build_sid':
my_distro: 'sid'
my_shell: 'debuild -uc -us'
my_description: 'build the piuparts develop branch on sid.'
my_trigger: 'piuparts_build_stretch'
- '{name}_build_stretch':
my_distro: 'stretch'
my_shell: 'debuild -uc -us'
my_description: 'build the piuparts develop branch on stretch.'
my_trigger: 'piuparts_build_jessie'
- '{name}_build_jessie':
my_distro: 'jessie'
my_shell: 'debuild -uc -us'
my_description: 'build the piuparts develop branch on jessie.'