From a4c790d343d12c126be11dcfbee3da2384be2cb5 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Wed, 18 Dec 2019 07:38:15 -0500 Subject: [PATCH] policy jobs must use JDK 11 for sonar/clm Sonar job failing because we upgraded this repo to JDK 11 and forgot to set that job correctly. Also fixing CLM job. I do not think the INFO.yaml needs this as its only checking the .yaml file and not compiling the repo. Jessica please confirm. Issue-ID: POLICY-1406 Change-Id: I0a936bd4d4a0843e9443438e974071d99cb4e4ee Signed-off-by: Pamela Dragosh --- jjb/policy/policy-common.yaml | 2 ++ jjb/policy/policy-parent.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/jjb/policy/policy-common.yaml b/jjb/policy/policy-common.yaml index 3ac5b2550..ec7d7834d 100644 --- a/jjb/policy/policy-common.yaml +++ b/jjb/policy/policy-common.yaml @@ -37,6 +37,7 @@ project-name: 'policy-common' branch: 'master' mvn-settings: 'policy-common-settings' + java-version: openjdk11 mvn-goals: 'clean install' mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' @@ -49,6 +50,7 @@ project-name: 'policy-common' branch: 'master' mvn-settings: 'policy-common-settings' + java-version: openjdk11 - project: name: policy-common-info diff --git a/jjb/policy/policy-parent.yaml b/jjb/policy/policy-parent.yaml index dca24521b..86a532662 100644 --- a/jjb/policy/policy-parent.yaml +++ b/jjb/policy/policy-parent.yaml @@ -31,6 +31,7 @@ project-name: 'policy-parent' branch: 'master' mvn-settings: 'policy-parent-settings' + java-version: openjdk11 - project: name: policy-parent-info -- 2.16.6