Skip to content
Snippets Groups Projects
Commit 0f37d5f5 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Use build discarder on more jobs.

 - Remove artifacts for most jobs after 20 runs
 - Remove old jobs after 7 days for maintenance jobs
parent 65f054be
No related branches found
No related tags found
No related merge requests found
......@@ -11,5 +11,8 @@
- !include: axis-architecture.yaml.inc
triggers:
- timed: "H */6 * * *"
properties:
- build-discarder:
days-to-keep: 7
builders:
- shell: /usr/share/jenkins/debian-scripts/schroot-maintenance.sh
......@@ -13,6 +13,9 @@
wipe-workspace: false
triggers:
- timed: "H * * * *"
properties:
- build-discarder:
days-to-keep: 7
builders:
- shell: chmod go+rX -R scripts/debian/
- shell: rsync -az --delete scripts/debian/ /usr/share/jenkins/debian-scripts/
......
......@@ -6,6 +6,9 @@
deb-extra-repositories:
deb-backport-on-success: unstable-swh>buster-swh
project-type: pipeline
properties:
- build-discarder:
num-to-keep: 10
parameters:
- string:
name: GIT_REVISION
......
......@@ -5,6 +5,9 @@
auth-token: 'ph4br1cat0r'
incoming_tag_auto_pypi_host: pypi.org
sandbox: true
properties:
- build-discarder:
num-to-keep: 20
parameters:
- git-parameter:
name: GIT_TAG
......
......@@ -9,6 +9,9 @@
auth-token: 'ph4br1cat0r'
phabricator_diff: true
do_cypress: false
properties:
- build-discarder:
artifact-num-to-keep: 20
parameters:
- git-parameter:
name: REVISION
......
......@@ -11,7 +11,7 @@
auth-token: 'ph4br1cat0r'
properties:
- build-discarder:
num-to-keep: 20
artifact-num-to-keep: 20
phabricator_diff: false
do_cypress: false
parameters:
......
......@@ -6,7 +6,7 @@
sandbox: true
properties:
- build-discarder:
num-to-keep: 20
artifact-num-to-keep: 10
parameters:
- git-parameter:
name: GIT_TAG
......
......@@ -9,8 +9,9 @@
- pollscm:
cron: "H/30 * * * *"
- timed: '@daily'
build-discarder:
num-to-keep: 50
properties:
- build-discarder:
days-to-keep: 7
wrappers:
- timestamps
- ansicolor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment