X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=bc9901d3702a1d6ec70b4302811a5712cce364db;hb=refs%2Ftags%2Fv0.7.0;hp=0c085c1196f56e2c29b73430ae092ec9e9380592;hpb=07f0942c6c7c3c19c46d2940bb4a04890bdae4a4;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 0c085c11..bc9901d3 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -266,7 +266,7 @@ job is triggered by Gerrit. - string: name: GERRIT_REFSPEC - default: '' + default: 'refs/heads/{branch}' description: | Parameter to identify a refspec when pulling from Gerrit. @@ -316,6 +316,23 @@ # PUBLISHERS # ############## +- publisher: + name: lf-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 + - publisher: name: lf-infra-publish # lf-infra macro to finish up a build.