Upgrade jdk17 for specific branch - java17

-Changing version from jdk11 to jdk17 for java17 branch
-Changing compatible build node versions
-jdk17 support only on java17 branch for now
-SO Related changes w.r.t java17: https://gerrit.onap.org/r/c/so/+/138123

Issue-ID: SO-4115
Change-Id: I98f07f000b817b999f92f8d86609b0666d0b9966
Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
diff --git a/jjb/so/so.yaml b/jjb/so/so.yaml
index e8f4105..4acef67 100644
--- a/jjb/so/so.yaml
+++ b/jjb/so/so.yaml
@@ -15,11 +15,9 @@
       - gerrit-maven-stage:
           sbom-generator: true
           sign-artifacts: true
-          build-node: centos8-docker-4c-4g
           maven-versions-plugin: true
       - gerrit-maven-docker-stage:
           sbom-generator: true
-          build-node: ubuntu1804-docker-v1-8c-8g
           maven-versions-plugin: true
           mvn-params: "-P docker -DskipTests"
           container-public-registry: "nexus3.onap.org:10001"
@@ -31,6 +29,17 @@
       - "master":
           branch: "master"
           java-version: openjdk11
+          gerrit-maven-stage:
+            build-node: centos8-docker-4c-4g
+          gerrit-maven-docker-stage:
+            build-node: ubuntu1804-docker-v1-8c-8g
+      - "java17":
+          branch: "java17"
+          java-version: openjdk17
+          gerrit-maven-stage:
+            build-node: centos8-docker-8c-8g
+          gerrit-maven-docker-stage:
+            build-node: centos8-docker-8c-8g
     mvn-settings: "so-settings"
     files: "**"
     archive-artifacts: ""