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