Add Docker jobs for Hunter
[releng.git] / jjb / armband / armband-verify-jobs.yaml
1 ---
2 - project:
3     name: 'armband-verify-jobs'
4
5     project: 'armband'
6
7     #####################################
8     # branch definitions
9     #####################################
10     stream:
11       - master:
12           branch: '{stream}'
13           gs-pathname: ''
14           disabled: false
15       - gambia:
16           branch: 'stable/{stream}'
17           gs-pathname: '/{stream}'
18           disabled: true
19     #####################################
20     # jobs
21     #####################################
22     jobs:
23       - 'armband-verify-{stream}'
24
25 #####################################
26 # job templates
27 #####################################
28 - job-template:
29     name: 'armband-verify-{stream}'
30
31     disabled: true
32
33     concurrent: true
34
35     properties:
36       - logrotate-default
37       - throttle:
38           enabled: true
39           max-total: 2
40           option: 'project'
41
42     scm:
43       - git-scm-gerrit
44
45     wrappers:
46       - ssh-agent-wrapper
47       - timeout:
48           timeout: 360
49           fail: true
50
51     triggers:
52       - gerrit:
53           server-name: 'gerrit.opnfv.org'
54           trigger-on:
55             - patchset-created-event:
56                 exclude-drafts: 'false'
57                 exclude-trivial-rebase: 'false'
58                 exclude-no-code-change: 'false'
59             - draft-published-event
60             - comment-added-contains-event:
61                 comment-contains-value: 'recheck'
62             - comment-added-contains-event:
63                 comment-contains-value: 'reverify'
64           projects:
65             - project-compare-type: 'ANT'
66               project-pattern: '{project}'
67               branches:
68                 - branch-compare-type: 'ANT'
69                   branch-pattern: '**/{branch}'
70               file-paths:
71                 - compare-type: ANT
72                   pattern: 'ci/**'
73                 - compare-type: ANT
74                   pattern: 'patches/**'
75               disable-strict-forbidden-file-verification: 'true'
76               forbidden-file-paths:
77                 - compare-type: ANT
78                   pattern: 'docs/**'
79           readable-message: true
80
81     parameters:
82       - project-parameter:
83           project: '{project}'
84           branch: '{branch}'
85       - 'opnfv-build-ubuntu-arm-defaults'
86
87     builders:
88       - description-setter:
89           description: "Built on $NODE_NAME"
90       - 'armband-verify-builder-macro'
91
92 #####################################
93 # builder macros
94 #####################################
95 - builder:
96     name: 'armband-verify-builder-macro'
97     builders:
98       - shell: |
99           #!/bin/bash
100           make fuel-patches-import