Capture logs for all packaging jobs
[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     publishers:
65       - lf-infra-publish
66
67 - job-template:
68     name: '{project-name}-test-full-{stream}'
69
70     node: centos7-docker-2c-4g
71
72     project-type: freestyle
73
74     properties:
75       - opendaylight-infra-properties:
76           build-days-to-keep: 7
77
78     parameters:
79       - opendaylight-infra-parameters:
80           os-cloud: '{os-cloud}'
81           project: '{project}'
82           branch: '{branch}'
83           refspec: 'refs/heads/{branch}'
84           artifacts: '{archive-artifacts}'
85       - string:
86           name: TEST_SUITE
87           default: 'acceptance_dock'
88           description: 'Set of tests to execute, Rakefile task'
89
90     scm:
91       - integration-gerrit-scm:
92           basedir: '{project-name}'
93           refspec: '$GERRIT_REFSPEC'
94           branch: '{branch}'
95
96     wrappers:
97       - opendaylight-infra-wrappers:
98           build-timeout: '{build-timeout}'
99
100     builders:
101       - shell: !include-raw: include-raw-test-puppet.sh
102
103     triggers:
104       - timed: '@daily'
105       - gerrit:
106           server-name: '{server-name}'
107           trigger-on:
108             - comment-added-contains-event:
109                 comment-contains-value: 'puppet-test-full'
110           projects:
111             - project-compare-type: 'ANT'
112               project-pattern: '{project}'
113               branches:
114                 - branch-compare-type: 'ANT'
115                   branch-pattern: '**/{branch}'
116           skip-vote:
117             successful: true
118             failed: true
119             unstable: true
120             notbuilt: true
121
122     publishers:
123       - lf-infra-publish