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
56 - patchset-created-event:
57 exclude-drafts: 'false'
58 exclude-trivial-rebase: 'false'
59 exclude-no-code-change: 'false'
60 - draft-published-event
61 - comment-added-contains-event:
62 comment-contains-value: 'recheck'
64 - project-compare-type: 'ANT'
65 project-pattern: '{name}'
67 - branch-compare-type: 'ANT'
68 branch-pattern: '**/{branch}'
71 name: gerrit-trigger-patch-merged
76 - comment-added-contains-event:
77 comment-contains-value: 'remerge'
79 - project-compare-type: 'ANT'
80 project-pattern: '{name}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
86 name: archive-artifacts
89 artifacts: '{artifacts}'
95 name: email-notification
98 recipients: 'jenkins@lists.opendaylight.org'
100 content-type: default
101 subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!'
103 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:
105 Check console output at $BUILD_URL to view the results.
116 exec-pattern: "**/**.exec"
117 class-pattern: "**/classes"
118 source-pattern: "**/src/main/java"
129 name: wipe-org-opendaylight-repo
131 - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi'