X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng-macros.yaml;h=2ea9ab8d295ef0c6aec890df91a69b6a555fa8ba;hb=2dbb5e6571b315d89021b84f90990f8070a84359;hp=6cac01cf13b5a9907c752bd26f6a43e6276f055a;hpb=e9bff86e0640b06814ed90a221255e55ad35cae1;p=releng%2Fbuilder.git diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index 6cac01cf1..2ea9ab8d2 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -40,10 +40,19 @@ skip-tag: true choosing-strategy: '{choosing-strategy}' +- wrapper: + name: build-timeout + wrappers: + - timeout: + type: absolute + timeout: 360 + fail: true + - trigger: name: gerrit-trigger-patch-submitted triggers: - gerrit: + server-name: 'OpenDaylight' trigger-on: - patchset-created-event: exclude-drafts: 'false' @@ -63,6 +72,7 @@ name: gerrit-trigger-patch-merged triggers: - gerrit: + server-name: 'OpenDaylight' trigger-on: - change-merged-event - comment-added-contains-event: @@ -74,6 +84,15 @@ - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' +- publisher: + name: archive-artifacts + publishers: + - archive: + artifacts: '{artifacts}' + allow-empty: true + fingerprint: true + latest-only: true + - publisher: name: email-notification publishers: @@ -91,3 +110,30 @@ 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**" + status-update: true + targets: + - branch: + healthy: 10 + unhealthy: 20 + - method: + healthy: 50 + unhealthy: 40 + +- builder: + name: wipe-org-opendaylight-repo + builders: + - shell: 'if [ -d /tmp/r/org/opendaylight ]; then rm -rf /tmp/r/org/opendaylight; fi' + +- builder: + name: jacoco-nojava-workaround + builders: + - shell: 'mkdir -p $WORKSPACE/target/classes'