summaryrefslogtreecommitdiffstats
path: root/jjb/releng/artifact-cleanup.yaml
blob: f64650b08e1eebc189b35ad2c89f267b5b8ac5ef (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
---
- 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)
    disabled: false

    parameters:
      - project-parameter:
          project: '{project}'
          branch: '{branch}'
      - opnfv-build-defaults

    scm:
      - git-scm

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

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