Commit 3a0cb92e authored by Holger Levsen's avatar Holger Levsen

piuparts jobs: refactor

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 3eb2d600
- defaults: - defaults:
name: piuparts name: piuparts-tests
project-type: freestyle project-type: freestyle
properties: properties:
- sidebar: - sidebar:
...@@ -25,10 +25,6 @@ ...@@ -25,10 +25,6 @@
url: 'git://anonscm.debian.org/piuparts/piuparts.git' url: 'git://anonscm.debian.org/piuparts/piuparts.git'
branches: branches:
- develop - develop
- job-template:
defaults: piuparts
name: '{name}_testsuite_jessie'
publishers: publishers:
- email: - email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
...@@ -42,128 +38,78 @@ ...@@ -42,128 +38,78 @@
builders: builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template: - defaults:
defaults: piuparts name: piuparts-builds
name: '{name}_testsuite_stretch' 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}<br><br>Job configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/piuparts.yaml">piuparts.yaml</a>.'
logrotate:
daysToKeep: 90
numToKeep: 20
artifactDaysToKeep: -1
artifactNumToKeep: -1
scm:
- git:
url: 'git://anonscm.debian.org/piuparts/piuparts.git'
branches:
- develop
publishers: publishers:
- email: - email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- trigger: - archive:
project: '{my_trigger}' artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
latest-only: true
- naginator: - naginator:
progressive-delay-increment: 5 progressive-delay-increment: 5
progressive-delay-maximum: 15 progressive-delay-maximum: 15
max-failed-builds: 5 max-failed-builds: 5
regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
builders: builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template:
defaults: piuparts-tests
name: '{name}_testsuite_jessie'
- job-template:
defaults: piuparts-tests
name: '{name}_testsuite_stretch'
- job-template: - job-template:
defaults: piuparts defaults: piuparts-tests
name: '{name}_testsuite_buster' name: '{name}_testsuite_buster'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- 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'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template: - job-template:
defaults: piuparts defaults: piuparts-tests
name: '{name}_testsuite_sid' name: '{name}_testsuite_sid'
triggers:
- pollscm:
cron: '*/6 * * * *'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
- 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'
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template: - job-template:
defaults: piuparts defaults: piuparts-builds
name: '{name}_build_jessie' 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
- naginator:
progressive-delay-increment: 5
progressive-delay-maximum: 15
max-failed-builds: 5
regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template: - job-template:
defaults: piuparts defaults: piuparts-builds
name: '{name}_build_stretch' name: '{name}_build_stretch'
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
- naginator:
progressive-delay-increment: 5
progressive-delay-maximum: 15
max-failed-builds: 5
regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template: - job-template:
defaults: piuparts defaults: piuparts-builds
name: '{name}_build_buster' name: '{name}_build_buster'
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
- naginator:
progressive-delay-increment: 5
progressive-delay-maximum: 15
max-failed-builds: 5
regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- job-template: - job-template:
defaults: piuparts defaults: piuparts-builds
name: '{name}_build_sid' 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
- naginator:
progressive-delay-increment: 5
progressive-delay-maximum: 15
max-failed-builds: 5
regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
builders:
- shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
- project: - project:
name: piuparts name: piuparts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment