fix ci jobs (daily && no branch param)
[releng.git] / jjb / releng / artifact-cleanup.yml
1 - project:
2     name: releng-artifact-cleanup
3
4     project: 'releng'
5
6     jobs:
7         - 'releng-artifact-cleanup-daily-{stream}'
8
9     stream:
10         - master:
11             branch: '{stream}'
12             gs-pathname: ''
13
14
15 - job-template:
16     name: 'releng-artifact-cleanup-daily-{stream}'
17
18     # Job template for daily builders
19     #
20     # Required Variables:
21     #     stream:    branch with - in place of / (eg. stable)
22     #     branch:    branch (eg. stable)
23     node: master
24
25     disabled: false
26
27     parameters:
28         - project-parameter:
29             project: '{project}'
30         - gerrit-parameter:
31             branch: '{branch}'
32
33     scm:
34         - git-scm
35
36     triggers:
37         - timed: 'H H * * *'
38
39     builders:
40         - shell: |
41             $WORKSPACE/utils/retention_script.sh