[java] use jdk8 on jenkins

(cherry picked from commit 6ee704772d)
This commit is contained in:
spalger 2016-02-05 17:31:32 -07:00
parent 389db13cfd
commit 462099e0df

View file

@ -1,8 +1,9 @@
module.exports = function (grunt) {
let { compact } = require('lodash');
grunt.registerTask('jenkins', 'Jenkins build script', function () {
process.env.JAVA_HOME = '/usr/lib/jvm/jdk8';
grunt.option('os-packages', true);
grunt.task.run(compact([
'test',
process.env.JOB_NAME === 'kibana_core' ? 'build' : null