diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2023-07-13 19:02:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-07-13 19:02:58 +0000 |
commit | e4a283e64e05ec8046b2af51e0f377d1b41f40b7 (patch) | |
tree | c73c187675c123c1d695a3f3a2675042cd873da7 /jjb | |
parent | 5da5c3031ad237a344a0f20f9c0120c104c409e2 (diff) | |
parent | 4ea4975cb430e1bb4bb1326924677f14952d22e0 (diff) |
Merge "[CPS] Migrate CPS jobs to Java 17"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/cps/cps-csit.yaml | 26 | ||||
-rw-r--r-- | jjb/cps/cps.yaml | 46 |
2 files changed, 58 insertions, 14 deletions
diff --git a/jjb/cps/cps-csit.yaml b/jjb/cps/cps-csit.yaml index e61ce2f5b..d57c0abe6 100644 --- a/jjb/cps/cps-csit.yaml +++ b/jjb/cps/cps-csit.yaml @@ -1,6 +1,6 @@ --- - project: - name: cps-csit + name: cps-csit-java11 jobs: - "{project-name}-review-verification-maven-{stream}": mvn-goals: clean install @@ -14,12 +14,28 @@ # project name in gerrit project: "cps" stream: - - "master": - branch: "master" - - "jakarta": - branch: "jakarta" - "kohn": branch: "kohn" mvn-settings: "cps-settings" robot-options: "" branch: "master" +- project: + name: cps-csit-java17 + jobs: + - "{project-name}-review-verification-maven-{stream}": + mvn-goals: clean install + mvn-params: "-Dmaven.test.skip=true -Ddocker.repository.push=" + - "{project-name}-merge-verification-maven-{stream}": + mvn-goals: clean install + mvn-params: "-Dmaven.test.skip=true -Ddocker.repository.push=" + project-name: "cps" + build-node: ubuntu1804-docker-8c-8g + recipients: "toine.siebelink@est.tech" + # project name in gerrit + project: "cps" + stream: + - "master": + branch: "master" + mvn-settings: "cps-settings" + robot-options: "" + branch: "master" 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: |