summaryrefslogtreecommitdiffstats
path: root/jjb/releng/artifact-cleanup.yml
blob: 1c609a4b228c56656e28ac5e984a4289bd71741f (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
42
- 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}'

    scm:
        - git-scm:
            credentials-id: '{ssh-credentials}'
            refspec: ''
            branch: '{branch}'

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

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