Add support for build-node var to ar-release job 90/67090/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 12 Jan 2018 05:40:00 +0000 (00:40 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 12 Jan 2018 05:40:01 +0000 (00:40 -0500)
This job type had the build-node hardcoded to a specific machine
so did not allow variable overriding. Let's fix that.

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

index d868d9e1e79ad706073ba7eea6f0e503d2048c0d..588d9053cde5b5706adcddb2eeb48e2af952d05e 100644 (file)
@@ -7,6 +7,7 @@
     # Defaults #
     ############
 
+    build-node: centos7-autorelease-8c-16g
     java-version: openjdk8
     mvn-version: mvn33
     extra-mvn-opts: ''
@@ -16,7 +17,7 @@
     #####################
 
     project-type: freestyle
-    node: centos7-builder-4c-16g
+    node: '{build-node}'
     jdk: '{java-version}'
     cron: 'H 0 * * *'