summaryrefslogtreecommitdiffstats
path: root/jjb/releng/artifact-cleanup.yml
blob: 2a250618ce8226fa8da385f8bdf2b64524175780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
- project:
    name: releng-artifact-cleanup

    project: 'releng'

    jobs:
      - 'releng-artifact-cleanup-daily-{stream}'

    stream:
      - master:
          branch: '{stream}'
          gs-pathname: ''


- job-template:
    name: 'releng-artifact-cleanup-daily-{stream}'

    # Job template for daily builders
    #
    # Required Variables:
    #     stream:    branch with - in place of / (eg. stable)
    #     branch:    branch (eg. stable)
    node: master

    disabled: false

    parameters:
      - project-parameter:
          project: '{project}'
          branch: '{branch}'

    scm:
      - git-scm

    triggers:
      - timed: 'H H * * *'

    builders:
      - shell: |
          $WORKSPACE/utils/retention_script.sh