Paul Sokolovsky | ffde518 | 2023-06-06 22:06:42 +0300 | [diff] [blame^] | 1 | - job: |
2 | name: tf-a-artifacts-cleanup | ||||
3 | node: master | ||||
4 | project-type: freestyle | ||||
5 | concurrent: true | ||||
6 | disabled: false | ||||
7 | defaults: global | ||||
8 | Description: | | ||||
9 | Gradually cleanup artifacts in TF-A builds | ||||
10 | properties: | ||||
11 | - build-discarder: | ||||
12 | days-to-keep: 50 | ||||
13 | num-to-keep: 50 | ||||
14 | - authorization: | ||||
15 | !include: authorization.yaml.inc | ||||
16 | triggers: | ||||
17 | - timed: 'H 0 * * *' | ||||
18 | wrappers: | ||||
19 | - timestamps | ||||
20 | builders: | ||||
21 | - shell: | | ||||
22 | #!/bin/bash | ||||
23 | |||||
24 | find /var/lib/jenkins/jobs/tf-a-builder/builds -name build.log -mtime +6 | head -n100 | xargs -i -n1 bash -c "echo {}; gzip -9 {}" |