Merge "Remove odlparent-3.0.x jobs"
[releng/builder.git] / jjb / packaging / packaging-puppet.yaml
1 ---
2 - project:
3     name: packaging-puppet
4     project-name: packaging-puppet
5
6     jobs:
7       - '{project-name}-test-sanity-{stream}'
8       - '{project-name}-test-full-{stream}'
9       - gerrit-tox-verify
10
11     project: 'integration/packaging/puppet-opendaylight'
12
13     stream:
14       - master:
15           branch: 'master'
16       - fluorine:
17           branch: 'stable/fluorine'
18       - oxygen:
19           branch: 'stable/oxygen'
20           disable-job: true
21
22 - job-template:
23     name: '{project-name}-test-sanity-{stream}'
24
25     node: centos7-docker-1c-4g
26     disable-job: false
27
28     project-type: freestyle
29     disabled: '{disable-job}'
30
31     properties:
32       - opendaylight-infra-properties:
33           build-days-to-keep: 7
34
35     parameters:
36       - opendaylight-infra-parameters:
37           os-cloud: '{os-cloud}'
38           project: '{project}'
39           branch: '{branch}'
40           refspec: 'refs/heads/{branch}'
41           artifacts: '{archive-artifacts}'
42       - string:
43           name: TEST_SUITE
44           default: 'sanity'
45           description: 'Set of tests to execute, Rakefile task'
46
47     scm:
48       - integration-gerrit-scm:
49           basedir: '{project-name}'
50           refspec: '$GERRIT_REFSPEC'
51           branch: '{branch}'
52
53     wrappers:
54       - opendaylight-infra-wrappers:
55           build-timeout: '{build-timeout}'
56
57     builders:
58       - shell: !include-raw: test-puppet.sh
59
60     triggers:
61       - timed: '@monthly'
62       - gerrit-trigger-patch-submitted:
63           gerrit-server-name: '{gerrit-server-name}'
64           project: '{project}'
65           branch: '{branch}'
66           files: '**'
67           forbidden-files: ''
68
69     publishers:
70       - lf-infra-publish
71
72 - job-template:
73     name: '{project-name}-test-full-{stream}'
74
75     node: centos7-docker-1c-4g
76     disable-job: false
77
78     project-type: freestyle
79     disabled: '{disable-job}'
80
81     properties:
82       - opendaylight-infra-properties:
83           build-days-to-keep: 7
84
85     parameters:
86       - opendaylight-infra-parameters:
87           os-cloud: '{os-cloud}'
88           project: '{project}'
89           branch: '{branch}'
90           refspec: 'refs/heads/{branch}'
91           artifacts: '{archive-artifacts}'
92       - string:
93           name: TEST_SUITE
94           default: 'acceptance_dock'
95           description: 'Set of tests to execute, Rakefile task'
96
97     scm:
98       - integration-gerrit-scm:
99           basedir: '{project-name}'
100           refspec: '$GERRIT_REFSPEC'
101           branch: '{branch}'
102
103     wrappers:
104       - opendaylight-infra-wrappers:
105           build-timeout: '{build-timeout}'
106
107     builders:
108       - shell: !include-raw: test-puppet.sh
109
110     triggers:
111       - timed: '@weekly'
112       - gerrit:
113           server-name: '{gerrit-server-name}'
114           trigger-on:
115             - comment-added-contains-event:
116                 comment-contains-value: 'puppet-test-full'
117           projects:
118             - project-compare-type: 'ANT'
119               project-pattern: '{project}'
120               branches:
121                 - branch-compare-type: 'ANT'
122                   branch-pattern: '**/{branch}'
123
124     publishers:
125       - lf-infra-publish
126
127 - project:
128     name: packaging-puppet-view
129     views:
130       - project-view
131     project-name: packaging-puppet