diff options
author | egernug <gerard.nugent@est.tech> | 2023-07-10 13:28:14 +0100 |
---|---|---|
committer | egernug <gerard.nugent@est.tech> | 2023-07-13 10:28:04 +0100 |
commit | 4ea4975cb430e1bb4bb1326924677f14952d22e0 (patch) | |
tree | 99d5ca15d90821edced6c3393cc54afb252ebe20 /jjb/cps/cps.yaml | |
parent | 9c4d2f848d14c2d2c15b3cbca3d0b64b8937d48e (diff) |
[CPS] Migrate CPS jobs to Java 17
As part of security works CPS is migrating to Java 17.
This requires the upgrade of JJB jobs starting with CPS and a subsequent patch for DMI Plugin
Issue-ID: CPS-1767
Signed-off-by: egernug <gerard.nugent@est.tech>
Change-Id: Ie736fe5c28e3acd5f9328c502dc4541b451466fa
Diffstat (limited to 'jjb/cps/cps.yaml')
-rw-r--r-- | jjb/cps/cps.yaml | 46 |
1 files changed, 37 insertions, 9 deletions
diff --git a/jjb/cps/cps.yaml b/jjb/cps/cps.yaml index 1f6ffe4cc..6b1404371 100644 --- a/jjb/cps/cps.yaml +++ b/jjb/cps/cps.yaml @@ -15,7 +15,7 @@ - project: name: cps-clm - java-version: openjdk11 + java-version: openjdk17 mvn-version: "mvn36" maven-version: "mvn36" jobs: @@ -28,7 +28,7 @@ build-node: centos8-docker-8c-8g - project: - name: cps + name: cps-java11 java-version: openjdk11 mvn-version: "mvn36" maven-version: "mvn36" @@ -53,11 +53,6 @@ - "{project-name}-gerrit-release-jobs": build-node: centos7-docker-2c-1g stream: - - "master": - branch: "master" - - "jakarta": - branch: "jakarta" - cron: "" - "kohn": branch: "kohn" cron: "" @@ -70,8 +65,41 @@ build-node: centos8-docker-8c-8g - project: + name: cps-java17 + java-version: openjdk17 + mvn-version: "mvn36" + maven-version: "mvn36" + project-name: "cps" + project: "cps" + jobs: + - "{project-name}-{stream}-verify-java" + - "{project-name}-{stream}-merge-java": + docker-pom: "pom.xml" + mvn-params: "-P cps-ncmp-docker" + - gerrit-maven-stage: + sign-artifacts: true + build-node: centos8-docker-8c-8g + maven-versions-plugin: true + sbom-generator: true + - gerrit-maven-docker-stage: + build-node: centos8-docker-8c-8g + maven-versions-plugin: true + mvn-params: "-P cps-ncmp-docker" + container-public-registry: "nexus3.onap.org:10001" + container-staging-registry: "nexus3.onap.org:10003" + - "{project-name}-gerrit-release-jobs": + build-node: centos7-docker-2c-1g + stream: + - "master": + branch: "master" + mvn-settings: "cps-settings" + files: "**" + archive-artifacts: "" + build-node: centos8-docker-8c-8g + +- project: name: cps-sonar - java-version: openjdk11 + java-version: openjdk17 mvn-version: "mvn36" maven-version: "mvn36" jobs: @@ -91,7 +119,7 @@ - project: name: cps-sonar-verify - java-version: openjdk11 + java-version: openjdk17 mvn-version: "mvn36" maven-version: "mvn36" jobs: |