summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-09-06 16:47:43 +0200
committerHolger Levsen <holger@layer-acht.org>2017-09-06 16:47:43 +0200
commit3a0cb92e676b6af181fa89343b6cefea92c0625e (patch)
tree6edbc7cce85273f2c9a0d08f4062c3efbfca6f49 /job-cfg
parent3eb2d600ea46bc97a99982b82c5182866c3652d0 (diff)
downloadjenkins.debian.net-3a0cb92e676b6af181fa89343b6cefea92c0625e.tar.xz
piuparts jobs: refactor
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'job-cfg')
-rw-r--r--job-cfg/piuparts.yaml146
1 files changed, 46 insertions, 100 deletions
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}<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:
- 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