From 3a0cb92e676b6af181fa89343b6cefea92c0625e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 6 Sep 2017 16:47:43 +0200 Subject: piuparts jobs: refactor Signed-off-by: Holger Levsen --- job-cfg/piuparts.yaml | 146 ++++++++++++++++---------------------------------- 1 file changed, 46 insertions(+), 100 deletions(-) (limited to 'job-cfg') diff --git a/job-cfg/piuparts.yaml b/job-cfg/piuparts.yaml index 97aae163..300dddd4 100644 --- a/job-cfg/piuparts.yaml +++ b/job-cfg/piuparts.yaml @@ -1,5 +1,5 @@ - defaults: - name: piuparts + name: piuparts-tests project-type: freestyle properties: - sidebar: @@ -25,10 +25,6 @@ url: 'git://anonscm.debian.org/piuparts/piuparts.git' branches: - develop - -- 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' @@ -42,128 +38,78 @@ builders: - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' -- job-template: - defaults: piuparts - name: '{name}_testsuite_stretch' +- defaults: + name: piuparts-builds + 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 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: '/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: - defaults: piuparts + defaults: piuparts-tests 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: - defaults: piuparts + defaults: piuparts-tests 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: - defaults: piuparts + defaults: piuparts-builds 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: - defaults: piuparts + defaults: piuparts-builds 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: - defaults: piuparts + defaults: piuparts-builds 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: - defaults: piuparts + defaults: piuparts-builds 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: name: piuparts -- cgit v1.2.3-54-g00ecf