Rename jdk to java-version 46/68046/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 8 Feb 2018 02:51:46 +0000 (21:51 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 8 Feb 2018 03:00:24 +0000 (22:00 -0500)
jdk is a keyword that is used for configuring the jdk configuration
in a job. This means all templates are inheriting and trying to set
this jdk regardless of if they jdk: '{jdk}' value in their configs
and appears to override that value incorrectly with 'openjdk8'
including the single quotes. This explains why many jobs are
printing the message: No JDK named ‘openjdk8’ found

Change-Id: I9bdf92bb759aec10f97ef355d4b04618cd58d2c8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
12 files changed:
jjb/integration/distribution/distribution-jobs.yaml
jjb/integration/distribution/distribution-templates.yaml
jjb/integration/integration-templates.yaml
jjb/integration/integration-test-jobs.yaml
jjb/netvirt/netvirt-full-integration.yaml
jjb/opflex/opflex-custom.yaml
jjb/opflex/opflex.yaml
jjb/ovsdb/ovsdb-full-integration.yaml
jjb/ovsdb/ovsdb-sonar.yaml
jjb/releng-defaults.yaml
jjb/releng-templates-java.yaml
jjb/releng-templates.yaml

index ef055544384e83d2dc6a6d5518f54d19d173855b..8d91a4c0620f79360928681eca5cd46469822375 100644 (file)
     project-type: freestyle
     node: 'centos7-builder-8c-8g'
     concurrent: true
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index d9fcca0f145eb03fc828b8bb7e7c20c8ab0d59b7..a0ba881b422484e68fdd71084182cca835a4e212 100644 (file)
@@ -12,7 +12,7 @@
     project-type: freestyle
     node: 'centos7-builder-8c-8g'
     concurrent: true
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index 472febb4f2ef2d164e05fa8a2eb0e66da76ccbd3..1ce162a0f2628a83785ff43a88583885b0528abd 100644 (file)
     project-type: freestyle
     node: centos7-builder-2c-8g
     concurrent: true
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index add368112f8daf4bb5f526147681557e8aa09ae2..b5c23f5aed742c8221622a691fe85a4d28a76cbc 100644 (file)
 
     project-type: freestyle
     node: centos7-builder-4c-4g
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index 043b62f1231ec341418a5727f557e5ac43098902..74bd6b25c4baadf2ddd3b73ad357022985f57789 100644 (file)
     project-type: freestyle
     node: centos7-docker-1c-4g
     concurrent: true
-    jdk: '{jdk}'
+    jdk: '{java-version}'
     description: >
         Integration tests for the Netvirt project against different versions of
         OVS and branches. This job runs nightly.
index 94b69ef54d7f36fbbcc0bd492a954b8c419fca99..68b7292da8dbb8c70feec3c8fe47e4c76b7daa02 100644 (file)
@@ -32,7 +32,7 @@
     project-type: freestyle
     node: centos7-builder-2c-8g
     concurrent: true
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
@@ -92,7 +92,7 @@
     name: 'opflex-merge-{stream}'
 
     node: centos7-builder-2c-8g
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index 1272d6bfadc879c3832f9ce20cf4e317509bb2f1..3f85b082450275faec2416115d08bd9c38b19115 100644 (file)
@@ -39,7 +39,7 @@
     name: 'opflex-release-{stream}'
 
     node: centos7-builder-2c-8g
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     ######################
     # Default parameters #
index 60473bb322df49fcb79db4fc03befb1cd51b85c1..7b86adad7975c614556c00eca64e1a79309dddf5 100644 (file)
@@ -95,7 +95,7 @@
 
     project-type: freestyle
     node: centos7-docker-1c-4g
-    jdk: '{jdk}'
+    jdk: '{java-version}'
     description: >
         Integration tests for the OVSDB project against different versions of
         OVS and branches. This job runs nightly.
index 53392a17193e4fd9848cb1de29000a2c7fb73dc9..47413b7095846a3f9e4259633334d64c0b266b6b 100644 (file)
@@ -12,7 +12,7 @@
 
     project-type: freestyle
     node: centos7-docker-1c-4g
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index cd16b8530f02a0a382b333ae42d185d5dcfef217..c299c63a538bbff03082c6f7a27c4ae5d6a358f9 100644 (file)
     # Maven / Java
     java-version: 'openjdk8'
     jre: 'openjdk8'
-    jdk: 'openjdk8'
     opendaylight-infra-mvn-opts: |
         --show-version
         --batch-mode
index a34dbc9676c5c4af380f94f5086a0cc8a5bebd76..48452b5c3f5fbdc1efcb53f4b5beba9932087c64 100644 (file)
@@ -36,7 +36,7 @@
 
     project-type: freestyle
     node: '{build-node}'
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
index 9bdbd51d26f36d2910b080c886952f32999dd3fa..4a5eef8b18b0526a452a73e63e7c7b1bdea22090 100644 (file)
@@ -7,7 +7,7 @@
 
     project-type: freestyle
     node: '{build-node}'
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     properties:
       - opendaylight-infra-properties:
@@ -75,7 +75,7 @@
 
     project-type: freestyle
     node: '{build-node}'
-    jdk: '{jdk}'
+    jdk: '{java-version}'
 
     parameters:
       - opendaylight-infra-parameters: