Hard-code openjdk8 for validate job 95/61195/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 4 Aug 2017 17:55:00 +0000 (13:55 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 4 Aug 2017 17:55:03 +0000 (13:55 -0400)
The JDK version does not really matter for validate-autorelease as the
correct JDK is configured by the project in their verify jobs. Typically
infra always wants to use the latest version anyway. This fixes the
warning in Jenkins that {jdk} is not found because
validate-autorelease's autogenerator job does not set a JDK.

Issue: RELENG-361
Change-Id: Idb71caf601d5f49a89afaf423573e78dff9ee72c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-templates.yaml

index b49de338d8c0f646c2da3b2ec3b7fe1a56918db2..a91f2fd6c7a922c7d862c46fbd5fdd783a801a75 100644 (file)
     project-type: freestyle
     node: '{build-node}'
     concurrent: true
-    jdk: '{jdk}'
+    jdk: openjdk8
 
     properties:
       - lf-infra-properties: