From: Anil Belur Date: Tue, 27 Feb 2024 02:19:08 +0000 (+1000) Subject: Fix: JaCoCo exclude patterns format X-Git-Tag: v0.90.1~3 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=532e97b5b965cab5ace406d8ecc845afc98920ac;p=releng%2Fglobal-jjb.git Fix: JaCoCo exclude patterns format Fix JaCoCo exclude patterns format. JJB 6.x does not process the job config when double quotes are used and returns the following error. Error: requests.exceptions.HTTPError: 500 Server Error: Server Error for url: https://jenkins.opendaylight.org/releng/job/distribution- merge-managed-argon/config.xml Issue: RELENG-5118 Change-Id: Id8b2c02c7feb1e5f2ed443eb59dd61e040a31d1c Signed-off-by: Anil Belur --- diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index aba6b9b7..61743770 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -733,7 +733,11 @@ disable-job: false git-url: "$GIT_URL/$PROJECT" github-url: "https://github.com" - jacoco-exclude-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**" + jacoco-exclude-pattern: >- + **/gen/**, + **/generated-sources/**, + **/yang-gen**, + **/pax/**, java-version: openjdk11 mvn-global-settings: global-settings mvn-goals: clean deploy @@ -1326,7 +1330,11 @@ disable-job: false git-url: "$GIT_URL/$PROJECT" github-url: "https://github.com" - jacoco-exclude-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**" + jacoco-exclude-pattern: >- + **/gen/**, + **/generated-sources/**, + **/yang-gen**, + **/pax/**, java-version: openjdk11 java-opts: "" mvn-global-settings: global-settings @@ -1721,7 +1729,11 @@ disable-job: false git-url: "$GIT_URL/$PROJECT" github-url: "https://github.com" - jacoco-exclude-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**" + jacoco-exclude-pattern: >- + **/gen/**, + **/generated-sources/**, + **/yang-gen**, + **/pax/** java-version: openjdk11 mvn-global-settings: global-settings mvn-goals: clean deploy @@ -1963,7 +1975,11 @@ disable-job: false git-url: "$GIT_URL/$PROJECT" github-url: "https://github.com" - jacoco-exclude-pattern: "**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**" + jacoco-exclude-pattern: >- + **/gen/**, + **/generated-sources/**, + **/yang-gen**, + **/pax/** java-version: openjdk11 mvn-global-settings: global-settings mvn-goals: clean deploy diff --git a/releasenotes/notes/fix-exclusion-pattern-format-ac269302cfb781d8.yaml b/releasenotes/notes/fix-exclusion-pattern-format-ac269302cfb781d8.yaml new file mode 100644 index 00000000..e24a40c3 --- /dev/null +++ b/releasenotes/notes/fix-exclusion-pattern-format-ac269302cfb781d8.yaml @@ -0,0 +1,11 @@ +--- +fixes: + - | + Fix JaCoCo exclude patterns format. JJB 6.x does not process + the job config when double quotes are used and returns the + following error. + + Error: + requests.exceptions.HTTPError: 500 Server Error: Server Error for url: + https://jenkins.opendaylight.org/releng/job/distribution-\ + merge-managed-argon/config.xml