4 name: project-parameter
9 description: "JJB configured PROJECT parameter to identify an ODL Gerrit project"
12 name: gerrit-parameter
17 description: "JJB configured GERRIT_BRANCH parameter"
20 name: gerrit-project-parameter
25 description: "GERRIT_PROJECT parameter if not given by trigger"
28 name: gerrit-refspec-parameter
33 description: "GERRIT_REFSPEC parameter if not given by trigger"
36 name: controller-version-parameter
40 default: '{odl_version}'
41 description: 'Controller version (for use with openstacks networking_odl project)'
44 name: patches-to-build-parameter
47 name: PATCHES_TO_BUILD
49 description: 'csv list of patches in project:changeset format to build distribution with'
52 name: distribution-branch-to-build-parameter
55 name: DISTRIBUTION_BRANCH_TO_BUILD
57 description: 'distribution repo branch to build with'
63 credentials-id: '{credentials-id}'
73 name: gerrit-trigger-scm
76 credentials-id: '{credentials-id}'
80 - 'origin/$GERRIT_BRANCH'
83 choosing-strategy: '{choosing-strategy}'
94 name: gerrit-trigger-patch-submitted
97 server-name: 'OpenDaylight'
99 - patchset-created-event:
100 exclude-drafts: 'false'
101 exclude-trivial-rebase: 'false'
102 exclude-no-code-change: 'false'
103 - draft-published-event
104 - comment-added-contains-event:
105 comment-contains-value: 'recheck'
106 - comment-added-contains-event:
107 comment-contains-value: 'reverify'
109 - project-compare-type: 'ANT'
110 project-pattern: '{name}'
112 - branch-compare-type: 'ANT'
113 branch-pattern: '**/{branch}'
116 name: gerrit-trigger-patch-merged
119 server-name: 'OpenDaylight'
121 - change-merged-event
122 - comment-added-contains-event:
123 comment-contains-value: 'remerge'
125 - project-compare-type: 'ANT'
126 project-pattern: '{name}'
128 - branch-compare-type: 'ANT'
129 branch-pattern: '**/{branch}'
132 name: gerrit-trigger-patch-sonar
135 server-name: 'OpenDaylight'
137 - comment-added-contains-event:
138 comment-contains-value: 'run-sonar'
140 - project-compare-type: 'ANT'
141 project-pattern: '{name}'
143 - branch-compare-type: 'ANT'
144 branch-pattern: '**/master'
152 name: gerrit-trigger-patch-site-merged
155 server-name: 'OpenDaylight'
157 - change-merged-event
158 - comment-added-contains-event:
159 comment-contains-value: 'republish'
161 - project-compare-type: 'ANT'
162 project-pattern: '{name}'
164 - branch-compare-type: 'ANT'
165 branch-pattern: '**/{branch}'
168 name: archive-artifacts
171 artifacts: '{artifacts}'
177 name: email-notification
180 recipients: 'jenkins@lists.opendaylight.org'
182 content-type: default
183 subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
185 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
187 Check console output at $BUILD_URL to view the results.
198 exec-pattern: "**/**.exec"
199 class-pattern: "**/classes"
200 source-pattern: "**/src/main/java"
201 exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**"
212 name: wipe-org-opendaylight-repo
214 - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
217 name: jacoco-nojava-workaround
219 - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
225 application-name: '{application-name}'
228 name: releng-check-unicode
231 $WORKSPACE/scripts/check-unicode.sh jjb/
234 name: provide-maven-settings
236 - config-file-provider:
238 - file-id: '{global-settings-file}'
239 variable: 'GLOBAL_SETTINGS_FILE'
240 - file-id: '{settings-file}'
241 variable: 'SETTINGS_FILE'