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"
23 credentials-id: '{credentials-id}'
32 name: gerrit-trigger-scm
35 credentials-id: '{credentials-id}'
39 - 'origin/$GERRIT_BRANCH'
41 choosing-strategy: '{choosing-strategy}'
52 name: gerrit-trigger-patch-submitted
55 server-name: 'OpenDaylight'
57 - patchset-created-event:
58 exclude-drafts: 'false'
59 exclude-trivial-rebase: 'false'
60 exclude-no-code-change: 'false'
61 - draft-published-event
62 - comment-added-contains-event:
63 comment-contains-value: 'recheck'
64 - comment-added-contains-event:
65 comment-contains-value: 'reverify'
67 - project-compare-type: 'ANT'
68 project-pattern: '{name}'
70 - branch-compare-type: 'ANT'
71 branch-pattern: '**/{branch}'
74 name: gerrit-trigger-patch-merged
77 server-name: 'OpenDaylight'
80 - comment-added-contains-event:
81 comment-contains-value: 'remerge'
83 - project-compare-type: 'ANT'
84 project-pattern: '{name}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
90 name: archive-artifacts
93 artifacts: '{artifacts}'
99 name: email-notification
102 recipients: 'jenkins@lists.opendaylight.org'
104 content-type: default
105 subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
107 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
109 Check console output at $BUILD_URL to view the results.
120 exec-pattern: "**/**.exec"
121 class-pattern: "**/classes"
122 source-pattern: "**/src/main/java"
123 exclusion-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**"
134 name: wipe-org-opendaylight-repo
136 - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'
139 name: jacoco-nojava-workaround
141 - shell: 'mkdir -p $WORKSPACE/target/classes'