Separate java 11 and 17 streams
Separate streams based on java 11 and java 17 to separate projects, since
setting java-version per stream is not working at the moment.
Issue-ID: CIMAN-436
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: If4e3c38a8fc5902c5d33ed87ae46ad01449ac944
diff --git a/jjb/ccsdk/apps.yaml b/jjb/ccsdk/apps.yaml
index 3b1bde3..894ed22 100644
--- a/jjb/ccsdk/apps.yaml
+++ b/jjb/ccsdk/apps.yaml
@@ -6,7 +6,7 @@
- project-view
- project:
- name: ccsdk-apps
+ name: ccsdk-apps-java11
project-name: "ccsdk-apps"
jobs:
- gerrit-maven-verify:
@@ -32,15 +32,54 @@
project: "ccsdk/apps"
stream:
+ - "kohn":
+ branch: "kohn"
+ java-version: openjdk11
+ mvn-version: "mvn38"
+ mvn-settings: "ccsdk-apps-settings"
+ # due to a strange macro / variable translation problem this needs to be
+ # passed as a string block to properly get the properties correctly defined
+ # in the job
+ maven-deploy-properties: |
+ deployAtEnd=true
+ files: "**"
+ archive-artifacts: ""
+ build-node: centos8-docker-8c-8g
+ mvn-snapshot-id: "ecomp-snapshots"
+ nexus-snapshot-repo: "snapshots"
+
+- project:
+ name: ccsdk-apps
+ project-name: "ccsdk-apps-java17"
+ jobs:
+ - gerrit-maven-verify:
+ mvn-params: "-Ddocker.skip.push=true -Pdocker"
+ - gerrit-maven-merge:
+ cron: "@daily"
+ mvn-params: "-Dmaven.test.skip=true"
+ - gerrit-maven-stage:
+ build-node: centos8-docker-8c-8g
+ sign-artifacts: true
+ mvn-params: "-Dmaven.test.skip=true"
+ cron: ""
+ sbom-generator: true
+
+ - gerrit-maven-docker-stage:
+ container-public-registry: "nexus3.onap.org:10001"
+ container-staging-registry: "nexus3.onap.org:10003"
+ mvn-params: "-Dmaven.test.skip=true -Pdocker"
+ maven-versions-plugin: true
+ cron: "@daily"
+ - "{project-name}-gerrit-release-jobs":
+ build-node: centos7-docker-2c-1g
+
+ project: "ccsdk/apps"
+ stream:
- "master":
branch: "master"
- java-version: openjdk17
- "london":
branch: "london"
- java-version: openjdk17
- - "kohn":
- branch: "kohn"
- java-version: openjdk11
+ java-version: openjdk17
mvn-version: "mvn38"
mvn-settings: "ccsdk-apps-settings"
# due to a strange macro / variable translation problem this needs to be