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}'
33 - ssh-agent-credentials:
38 - wipe-org-opendaylight-repo
39 - jacoco-nojava-workaround
40 - provide-maven-settings:
41 global-settings-file: '{odl-global-settings}'
42 settings-file: '{autorelease-settings}'
47 goals: 'clean deploy -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage'
48 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
49 settings: '{autorelease-settings}'
50 global-settings: '{odl-global-settings}'
51 post-step-run-condition: UNSTABLE
54 - releng-stage-release
60 email-prefix: '[releng]'
64 name: '{name}-publish-p2repo'
66 # Job template for publishing a p2 repo given a URL to a zipped p2repo.
78 - wipe-org-opendaylight-repo
79 - jacoco-nojava-workaround
80 - releng-generate-p2pom
85 goals: 'clean deploy -V -Dmaven.repo.local=/tmp/r'
86 settings: '{project-settings}'
87 global-settings: '{odl-global-settings}'
88 post-step-run-condition: UNSTABLE
91 - releng-update-p2composite-metadata:
92 maven-version: '{mvn33}'
93 settings: '{project-settings}'
94 global-settings: '{odl-global-settings}'
98 email-prefix: '[releng]'
101 name: '{name}-verify-python-{stream}'
103 # Job template for python verify jobs
105 # The purpose of this job template is to run tox for projects using this
108 # Required Variables:
109 # stream: release stream (eg. stable-lithium or beryllium)
110 # branch: git branch (eg. stable/lithium or master)
111 # toxdir: directory containing the project's tox.ini relative to
114 project-type: freestyle
121 artifactDaysToKeep: '-1'
122 artifactNumToKeep: '-1'
129 - gerrit-refspec-parameter:
130 refspec: 'refs/heads/{branch}'
134 credentials-id: '{ssh-credentials}'
137 refspec: '$GERRIT_REFSPEC'
139 - 'origin/$GERRIT_BRANCH'
141 choosing-strategy: 'gerrit'
145 - ssh-agent-credentials:
147 - '{ssh-credentials}'
151 server-name: 'OpenDaylight'
153 - patchset-created-event:
154 exclude-drafts: 'true'
155 exclude-trivial-rebase: 'false'
156 exclude-no-code-change: 'true'
157 - draft-published-event
158 - comment-added-contains-event:
159 comment-contains-value: 'recheck'
160 - comment-added-contains-event:
161 comment-contains-value: 'reverify'
163 - project-compare-type: 'ANT'
164 project-pattern: '{project}'
166 - branch-compare-type: 'ANT'
167 branch-pattern: '**/{branch}'
170 pattern: '{toxdir}/**'
174 virtualenv $WORKSPACE/venv-tox
175 source $WORKSPACE/venv-tox/bin/activate
176 pip install --upgrade pip
177 pip install --upgrade tox argparse
179 cd $WORKSPACE/repo/{toxdir}
183 - email-notification:
184 email-prefix: '[{project}]'
187 name: '{name}-merge-rtd-{stream}'
188 # Template for ReadTheDocs triggering
190 project-type: freestyle
199 - gerrit-refspec-parameter:
200 refspec: 'refs/heads/{branch}'
204 - ssh-agent-credentials:
206 - '{ssh-credentials}'
209 - gerrit-trigger-patch-merged:
215 curl -X POST https://readthedocs.org/build/{rtdproject}
218 - email-notification:
219 email-prefix: '[{project}]'