Use different slaves based on JDK version projects need 82/1982/4
authorFatih Degirmenci <fdegir@gmail.com>
Tue, 20 Aug 2019 16:37:42 +0000 (16:37 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Wed, 21 Aug 2019 22:45:00 +0000 (22:45 +0000)
commitddfb33b13040f56b8134765fc84acfa685646bcd
treeed3aa4183b4538b7ae8ec7b7a55cfe38aab0a9bd
parent68c9c79b9ad904d2a74ad43c7bbb9c6e65dea9ed
Use different slaves based on JDK version projects need

New base images for build servers with jdk8 and jdk11 are created
on City Nordix Tenant and Jenkins OpenStack Cloud Plugin is configured
to provision 1 slave for each jdk version we need.

JAVA_HOME is also set to same place in both base images so we don't
need to worry about overriding it manually.

New slaves are labelled with onap-build-ubuntu1604-jdk8 and onap-build-ubuntu1604-jdk11.
  https://jenkins.nordix.org/label/onap-build-ubuntu1604-jdk8/
  https://jenkins.nordix.org/label/onap-build-ubuntu1604-jdk11/

The old slave, base instance, and the base image will be removed from Jenkins
and from OpenStack tenant once the new image and slave are verified.

Change-Id: I7325088ed74f45acb4e12527ccf3ae16db4c5a51
jjb/onap/dcaegen2-collectors-datafile/dcaegen2-collectors-datafile-verify-jobs.yaml
jjb/onap/global-templates-onap-java.yaml