diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2015-12-09 09:06:48 -0800 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2015-12-09 09:06:48 -0800 |
commit | dd4427f07cc7d2807ea95a41e120946520d5fd26 (patch) | |
tree | 4475abb4f64682b18b70fd0cfa79cf75ab2274d6 /jjb | |
parent | 9de77bc07cb2be5cee63d5e6ee4ce18fff17e4b1 (diff) |
Port more macros over from ODL
Bring over some more macros from ODL.
Publishers:
* archive-artifacts
* email-notification (currently set to a bad address on purpose)
* jacoco-report
Builders:
* provide-maven-settings
Change-Id: I60684dbcdf87b6104f7763e7f74c48174a2355e8
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-macros.yaml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 6abec5617..b1e0283e1 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -106,6 +106,51 @@ - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' +# Publishers +- publisher: + name: archive-artifacts + publishers: + - archive: + articacts: '{artifacts}' + allow-empty: true + fingerprint: true + latest-only: true + +- publisher: + name: email-notification + publishers: + - email-ext: + recipients: 'nobody@projectrotterdam.info' + reply-to: + content-type: default + subject: '{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!' + body: | + $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: + + Check console output at $BUILD_URL to view the results. + unstable: true + fixed: true + send-to: + - developers + - recipients + +- publisher: + name: jacoco-report + publishers: + - jacoco: + exec-pattern: '**/**.exec' + class-pattern: '**/classes' + source-pattern: '**/src/main/java' + exclusion-pattern: '**/gen**,**/generated-sources/**,**/yang-gen**,**/pax/**' + status-update: true + targets: + - branch: + healthy: 10 + unhealthy: 20 + - method: + healthy: 50 + unhealthy: 40 + ###### BUILDERS - builder: name: ci-management-check-unicode @@ -113,4 +158,13 @@ - shell: | $WORKSPACE/scripts/check-unicode.sh jjb/ +- builder: + name: provide-maven-settings + builders: + - config-file-provider: + files: + - file-id: '{global-settings}' + variable: 'GLOBAL_SETTINGS_FILE' + - file-id: '{settings-file}' + variable: 'SETTINGS_FILE' |