2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
8 name: 'opnfv-build-centos-defaults'
12 default: 'opnfv-build-centos'
14 node-eligibility: 'ignore-offline'
17 default: https://gerrit.opnfv.org/gerrit/$PROJECT
18 description: 'Git URL to use on this Jenkins Slave'
21 default: $WORKSPACE/build_output
22 description: "Directory where the build artifact will be located upon the completion of the build."
30 - 'barometer-verify-{stream}'
31 - 'barometer-merge-{stream}'
32 - 'barometer-daily-{stream}'
33 - 'barometer-plugins-tests'
41 branch: 'stable/{stream}'
42 gs-pathname: '/{stream}'
46 name: 'barometer-verify-{stream}'
48 disabled: '{obj:disabled}'
54 - 'opnfv-build-centos-defaults'
61 server-name: 'gerrit.opnfv.org'
63 - patchset-created-event:
64 exclude-drafts: 'false'
65 exclude-trivial-rebase: 'false'
66 exclude-no-code-change: 'false'
67 - draft-published-event
68 - comment-added-contains-event:
69 comment-contains-value: 'recheck'
70 - comment-added-contains-event:
71 comment-contains-value: 'reverify'
73 - project-compare-type: 'ANT'
74 project-pattern: '{project}'
76 - branch-compare-type: 'ANT'
77 branch-pattern: '**/{branch}'
78 disable-strict-forbidden-file-verification: 'true'
81 pattern: 'docs/**|.gitignore'
91 name: 'barometer-merge-{stream}'
93 project-type: freestyle
95 disabled: '{obj:disabled}'
111 - 'opnfv-build-centos-defaults'
118 server-name: 'gerrit.opnfv.org'
120 - change-merged-event
121 - comment-added-contains-event:
122 comment-contains-value: 'remerge'
124 - project-compare-type: 'ANT'
125 project-pattern: '{project}'
127 - branch-compare-type: 'ANT'
128 branch-pattern: '**/{branch}'
129 disable-strict-forbidden-file-verification: 'true'
130 forbidden-file-paths:
142 name: 'barometer-daily-{stream}'
144 project-type: freestyle
146 disabled: '{obj:disabled}'
157 - barometer-project-parameter:
158 gs-pathname: '{gs-pathname}'
159 - 'opnfv-build-centos-defaults'
168 - shell: !include-raw-escape: ./barometer-build.sh
169 - shell: !include-raw-escape: ./barometer-upload-artifact.sh
172 name: 'barometer-plugins-tests'
176 disabled: '{obj:disabled}'
182 - opnfv-build-centos-defaults
190 git clone "https://gerrit.opnfv.org/gerrit/barometer"
192 sudo docker build -t opnfv/barometer-collectd-tests-base --network=host \
193 -f docker/barometer-collectd-plugin-tests/Dockerfile.base .
194 docker build -t opnfv/barometer-collectd-tests --network=host \
195 -f docker/barometer-collectd-plugin-tests/Dockerfile .
196 docker run -t --net=host
197 -v `pwd`/src/collectd/collectd_sample_configs-master:/opt/collectd/etc/collectd.conf.d \
198 -v /var/run:/var/run -v /tmp:/tmp -v `pwd`/plugin_test:/tests \
199 --privileged opnfv/barometer-collectd-tests:latest
200 docker container rm $(sudo docker container ls -aq)
201 docker rmi opnfv/barometer-collectd-tests:latest
202 docker rmi opnfv/barometer-collectd-tests-base:latest
204 ########################
206 ########################
208 name: barometer-project-parameter
212 default: '$GS_BASE{gs-pathname}'
213 description: "URL to Google Storage."