diff options
Diffstat (limited to 'job-cfg/self.yaml')
-rw-r--r-- | job-cfg/self.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/job-cfg/self.yaml b/job-cfg/self.yaml new file mode 100644 index 00000000..9c73e828 --- /dev/null +++ b/job-cfg/self.yaml @@ -0,0 +1,44 @@ +- default: + name: self-housekeeping + description: 'Cleanup and monitor so that there is a predictable environment.{do_not_edit}' + logrotate: + daysToKeep: 90 + numToKeep: 25 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + triggers: + - timed: "30 6 * * *" + builders: + - shell: '/srv/jenkins/bin/housekeeping.sh' + publishers: + - logparser: + rulespath: '/srv/jenkins/logparse/debian.rules' + unstable_on_warning: 'true' + fail_on_error: 'true' + - 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' + +- project: + name: self + do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/gitweb/?p=users/holger/jenkins.debian.net.git;a=blob;f=job-cfg/self.yaml">self.yaml</a>.' + jobs: + - '{name}_housekeeping' + |