merge GIT_BRANCH and GERRIT_BRANCH into BRANCH
[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             branch: '{branch}'
31
32     scm:
33         - git-scm
34
35     triggers:
36         - timed: 'H H * * *'
37
38     builders:
39         - shell: |
40             $WORKSPACE/utils/retention_script.sh