2 name: '{name}-release-java'
4 # Job template for producing a release candidate by creating a staging repo
19 stage-id: '{stage-id}'
23 credentials-id: '{ssh-credentials}'
32 - opendaylight-infra-wrappers:
33 build-timeout: '{build-timeout}'
36 - wipe-org-opendaylight-repo
37 - jacoco-nojava-workaround
38 - provide-maven-settings:
39 global-settings-file: 'odl-global-settings'
40 settings-file: 'autorelease-settings'
45 goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage'
46 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
47 settings: 'autorelease-settings'
48 global-settings: 'odl-global-settings'
49 post-step-run-condition: UNSTABLE
52 - releng-stage-release
58 email-prefix: '[releng]'
62 name: '{name}-publish-p2repo'
64 # Job template for publishing a p2 repo given a URL to a zipped p2repo.
76 - opendaylight-infra-wrappers:
77 build-timeout: '{build-timeout}'
80 - wipe-org-opendaylight-repo
81 - jacoco-nojava-workaround
82 - releng-fetch-p2zip-if-necessary:
83 maven-version: '{mvn33}'
84 settings: '{project-settings}'
85 global-settings: 'odl-global-settings'
86 - releng-generate-p2pom
91 goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
92 settings: '{project-settings}'
93 global-settings: 'odl-global-settings'
94 post-step-run-condition: UNSTABLE
97 - releng-update-p2composite-metadata:
98 maven-version: '{mvn33}'
99 settings: '{project-settings}'
100 global-settings: 'odl-global-settings'
103 - email-notification:
104 email-prefix: '[releng]'
109 name: '{name}-verify-python-{stream}'
111 # Job template for python verify jobs
113 # The purpose of this job template is to run tox for projects using this
116 # Required Variables:
117 # stream: release stream (eg. stable-lithium or beryllium)
118 # branch: git branch (eg. stable/lithium or master)
119 # toxdir: directory containing the project's tox.ini relative to
122 project-type: freestyle
129 artifactDaysToKeep: '-1'
130 artifactNumToKeep: '-1'
138 refspec: 'refs/heads/{branch}'
142 credentials-id: '{ssh-credentials}'
145 refspec: '$GERRIT_REFSPEC'
147 - 'origin/$GERRIT_BRANCH'
149 choosing-strategy: 'gerrit'
152 - opendaylight-infra-wrappers:
153 build-timeout: '{build-timeout}'
157 server-name: 'OpenDaylight'
159 - patchset-created-event:
160 exclude-drafts: 'true'
161 exclude-trivial-rebase: 'false'
162 exclude-no-code-change: 'true'
163 - draft-published-event
164 - comment-added-contains-event:
165 comment-contains-value: 'recheck'
166 - comment-added-contains-event:
167 comment-contains-value: 'reverify'
169 - project-compare-type: 'ANT'
170 project-pattern: '{project}'
172 - branch-compare-type: 'ANT'
173 branch-pattern: '**/{branch}'
176 pattern: '{toxdir}/**'
180 virtualenv $WORKSPACE/venv-tox
181 source $WORKSPACE/venv-tox/bin/activate
182 pip install --upgrade pip
183 pip install --upgrade tox argparse
185 cd $WORKSPACE/repo/{toxdir}
189 - email-notification:
190 email-prefix: '[{project}]'
193 name: '{name}-merge-rtd-{stream}'
194 # Template for ReadTheDocs triggering
196 project-type: freestyle
206 refspec: 'refs/heads/{branch}'
209 - opendaylight-infra-wrappers:
210 build-timeout: '{build-timeout}'
213 - gerrit-trigger-patch-merged:
219 curl -X POST https://readthedocs.org/build/{rtdproject}
222 - email-notification:
223 email-prefix: '[{project}]'
228 name: '{name}-verify-node-{stream}'
230 # Job template for python verify jobs
232 # The purpose of this job template is to run node tests for projects using
233 # this template. It uses python virtualenv to install nodeenv and create a
234 # virtualenv for nodejs.
236 # Required Variables:
237 # stream: release stream (eg. stable-lithium or beryllium)
238 # branch: git branch (eg. stable/lithium or master)
239 # nodedir: directory of nodejs project to run node test against
240 # nodever: version of node to install in virtualenv
242 project-type: freestyle
249 artifactDaysToKeep: '-1'
250 artifactNumToKeep: '-1'
258 refspec: 'refs/heads/{branch}'
262 credentials-id: '{ssh-credentials}'
265 refspec: '$GERRIT_REFSPEC'
267 - 'origin/$GERRIT_BRANCH'
269 choosing-strategy: 'gerrit'
272 - opendaylight-infra-wrappers:
273 build-timeout: '{build-timeout}'
277 server-name: 'OpenDaylight'
279 - patchset-created-event:
280 exclude-drafts: 'true'
281 exclude-trivial-rebase: 'false'
282 exclude-no-code-change: 'true'
283 - draft-published-event
284 - comment-added-contains-event:
285 comment-contains-value: 'recheck'
286 - comment-added-contains-event:
287 comment-contains-value: 'reverify'
289 - project-compare-type: 'ANT'
290 project-pattern: '{project}'
292 - branch-compare-type: 'ANT'
293 branch-pattern: '**/{branch}'
296 pattern: '{nodedir}/**'
302 virtualenv $WORKSPACE/venv-python
303 source $WORKSPACE/venv-python/bin/activate
304 pip install --upgrade pip
305 pip install --upgrade tox argparse nodeenv
309 nodeenv --node={nodever} --prebuilt $WORKSPACE/venv-node
310 source $WORKSPACE/venv-node/bin/activate
311 cd $WORKSPACE/repo/{nodedir}
316 - email-notification:
317 email-prefix: '[{project}]'