- defaults:
name: self-housekeeping
description: 'Cleanup and monitor so that there is a predictable environment.{do_not_edit}'
logrotate:
daysToKeep: 365
numToKeep: 365
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers:
- timed: "30 6 * * *"
builders:
- shell: '{my_shell}'
publishers:
- email:
recipients: holger@layer-acht.org
properties:
- sidebar:
url: http://jenkins.debian.net/userContent/about.html
text: About jenkins.debian.net
icon: /userContent/images/debian-swirl-24x24.png
- sidebar:
url: http://jenkins.debian.net/view/jenkins.d.n/
text: Housekeeping jobs
icon: /userContent/images/debian-jenkins-24x24.png
- sidebar:
url: http://www.profitbricks.com
text: Sponsored by Profitbricks
icon: /userContent/images/profitbricks-24x24.png
- job-template:
defaults: self-housekeeping
name: '{name}_housekeeping'
publishers:
- logparser:
parse-rules: '/srv/jenkins/logparse/debian.rules'
unstable-on-warning: 'true'
fail-on-error: 'true'
- job-template:
defaults: self-housekeeping
name: '{name}_sub-housekeeping-squid'
- project:
name: self
do_not_edit: '
Job configuration source is self.yaml.'
jobs:
- '{name}_housekeeping':
my_shell: '/srv/jenkins/bin/housekeeping.sh'
- '{name}_sub-housekeeping-squid':
my_shell: '/srv/jenkins/bin/housekeeping.sh squid'