b0f819145539e436ee43798096ffbb6506356f98
[releng.git] / jjb / opnfv / artifact-cleanup.yml
1 - project:
2     name: artifact-cleanup
3
4     project: 'releng'
5
6     jobs:
7         - 'artifact-cleanup-daily-{stream}'
8
9     stream:
10         - master:
11             branch: '{stream}'
12             gs-pathname: ''
13
14
15 - job-template:
16     name: '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
31     scm:
32         - git-scm:
33             credentials-id: '{ssh-credentials}'
34             refspec: ''
35             branch: '{branch}'
36
37     triggers:
38         - timed: 'H H * * *'
39
40     builders:
41         - shell: |
42             $WORKSPACE/utils/retention_script.sh