From: Andrew Grimberg Date: Wed, 9 Dec 2015 17:06:48 +0000 (-0800) Subject: Port more macros over from ODL X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=dd4427f07cc7d2807ea95a41e120946520d5fd26;p=ci-management.git 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 --- 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'