Change Netconf Testtool version
[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
19 - job-template:
20     name: "{project-name}-test-sanity-{stream}"
21
22     node: centos7-docker-1c-4g
23     disable-job: false
24
25     project-type: freestyle
26     disabled: "{disable-job}"
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: test-puppet.sh
56
57     triggers:
58       - timed: "@monthly"
59       - gerrit-trigger-patch-submitted:
60           gerrit-server-name: "{gerrit-server-name}"
61           project: "{project}"
62           branch: "{branch}"
63           files: "**"
64           forbidden-files: ""
65
66     publishers:
67       - lf-infra-publish
68
69 - job-template:
70     name: "{project-name}-test-full-{stream}"
71
72     node: centos7-docker-1c-4g
73     disable-job: false
74
75     project-type: freestyle
76     disabled: "{disable-job}"
77
78     properties:
79       - opendaylight-infra-properties:
80           build-days-to-keep: 7
81
82     parameters:
83       - opendaylight-infra-parameters:
84           os-cloud: "{os-cloud}"
85           project: "{project}"
86           branch: "{branch}"
87           refspec: "refs/heads/{branch}"
88           artifacts: "{archive-artifacts}"
89       - string:
90           name: TEST_SUITE
91           default: "acceptance_dock"
92           description: "Set of tests to execute, Rakefile task"
93
94     scm:
95       - integration-gerrit-scm:
96           basedir: "{project-name}"
97           refspec: "$GERRIT_REFSPEC"
98           branch: "{branch}"
99
100     wrappers:
101       - opendaylight-infra-wrappers:
102           build-timeout: "{build-timeout}"
103
104     builders:
105       - shell: !include-raw: test-puppet.sh
106
107     triggers:
108       - timed: "@weekly"
109       - gerrit:
110           server-name: "{gerrit-server-name}"
111           trigger-on:
112             - comment-added-contains-event:
113                 comment-contains-value: "puppet-test-full"
114           projects:
115             - project-compare-type: "ANT"
116               project-pattern: "{project}"
117               branches:
118                 - branch-compare-type: "ANT"
119                   branch-pattern: "**/{branch}"
120
121     publishers:
122       - lf-infra-publish
123
124 - project:
125     name: packaging-puppet-view
126     views:
127       - project-view
128     project-name: packaging-puppet