summaryrefslogtreecommitdiffstats
path: root/jjb/opnfv/artifact-cleanup.yml
blob: b0f819145539e436ee43798096ffbb6506356f98 (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: artifact-cleanup

    project: 'releng'

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

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


- job-template:
    name: '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