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=eb25459ee0c95d246b1a7748bdc42e7e8ec43167;hpb=ec0a666af4481b21b82be836011d6c94bb04e098;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index eb25459e..bc9901d3 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -272,7 +272,14 @@ Note that Gerrit will override this parameter automatically if a job is triggered by Gerrit. - + - string: + name: LFTOOLS_VERSION + default: '{lftools-version}' + description: | + Version of lftools to install. Can be a specific version like + '0.6.0' or a PEP-440 definition. + https://www.python.org/dev/peps/pep-0440/ + For example '<1.0.0' or '>=1.0.0,<2.0.0'. - parameter: name: lf-infra-tox-parameters @@ -309,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.