Disabling Clover Jobs, as Clover appears inactive
[releng.git] / jjb / clover / clover-project.yaml
1 ---
2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
6 - project:
7     name: clover
8
9     project: '{name}'
10
11     jobs:
12       - 'clover-verify-{stream}'
13       - 'clover-daily-upload-{stream}'
14       - 'clover-daily-deploy-{stream}'
15
16     stream:
17       - master:
18           branch: '{stream}'
19           gs-pathname: ''
20           disabled: false
21
22 - job-template:
23     name: 'clover-verify-{stream}'
24
25     disabled: '{obj:disabled}'
26
27     parameters:
28       - project-parameter:
29           project: '{project}'
30           branch: '{branch}'
31       # yamllint disable rule:line-length
32       - string:
33           name: GIT_BASE
34           default: https://gerrit.opnfv.org/gerrit/$PROJECT
35           description: "Used for overriding the GIT URL coming from Global Jenkins\
36             \ configuration in case if the stuff is done on none-LF HW."
37       # yamllint enable rule:line-length
38       - 'opnfv-build-ubuntu-defaults'
39
40     scm:
41       - git-scm-gerrit
42
43     triggers:
44       - gerrit:
45           server-name: 'gerrit.opnfv.org'
46           trigger-on:
47             - patchset-created-event:
48                 exclude-drafts: 'false'
49                 exclude-trivial-rebase: 'false'
50                 exclude-no-code-change: 'false'
51             - draft-published-event
52             - comment-added-contains-event:
53                 comment-contains-value: 'recheck'
54             - comment-added-contains-event:
55                 comment-contains-value: 'reverify'
56           projects:
57             - project-compare-type: 'ANT'
58               project-pattern: '{project}'
59               branches:
60                 - branch-compare-type: 'ANT'
61                   branch-pattern: '**/{branch}'
62               disable-strict-forbidden-file-verification: 'true'
63               forbidden-file-paths:
64                 - compare-type: ANT
65                   pattern: 'docs/**|.gitignore'
66
67     builders:
68       - shell: |
69           cd $WORKSPACE/ci
70           ./verify.sh
71
72 - job-template:
73     name: 'clover-daily-upload-{stream}'
74
75     disabled: true
76
77     concurrent: false
78
79     scm:
80       - git-scm
81
82     triggers:
83       - timed: '0 8 * * *'
84
85     wrappers:
86       - fix-workspace-permissions
87
88     parameters:
89       - project-parameter:
90           project: '{project}'
91           branch: '{branch}'
92       - 'opnfv-build-ubuntu-defaults'
93       - 'clover-defaults':
94           gs-pathname: '{gs-pathname}'
95
96     builders:
97       - shell: |
98           cd $WORKSPACE/ci
99           ./upload.sh
100
101 - job-template:
102     name: 'clover-daily-deploy-{stream}'
103
104     project-type: freestyle
105
106     disabled: true
107
108     concurrent: false
109
110     properties:
111       - logrotate-default
112       - throttle:
113           enabled: true
114           max-per-node: 1
115           option: 'project'
116       - build-blocker:
117           use-build-blocker: true
118           blocking-jobs:
119             - 'clover-daily-deploy-.*?'
120             - 'container4nfv-daily-deploy-.*?'
121           blocking-level: 'NODE'
122
123     wrappers:
124       - timeout:
125           timeout: 180
126           abort: true
127       - fix-workspace-permissions
128
129     parameters:
130       - project-parameter:
131           project: '{project}'
132           branch: '{branch}'
133       # yamllint disable rule:line-length
134       - string:
135           name: GIT_BASE
136           default: https://gerrit.opnfv.org/gerrit/$PROJECT
137           description: "Used for overriding the GIT URL coming from Global Jenkins\
138             \ configuration in case if the stuff is done on none-LF HW."
139       # yamllint enable rule:line-length
140       - node:
141           name: SLAVE_NAME
142           description: 'Slave name on Jenkins'
143           allowed-slaves:
144             - huawei-virtual6
145           default-slaves:
146             - huawei-virtual6
147
148     scm:
149       - git-scm
150
151     triggers:
152       - timed: '0 9 * * *'
153
154     builders:
155       - shell: |
156           cd $WORKSPACE/ci
157           ./deploy.sh
158
159 ###################
160 # parameter macros
161 ###################
162 - parameter:
163     name: 'clover-defaults'
164     parameters:
165       - string:
166           name: GS_URL
167           default: artifacts.opnfv.org/$PROJECT{gs-pathname}
168           description: "URL to Google Storage."