Skip to content

Commit

Permalink
use jdk8 on jenkins
Browse files Browse the repository at this point in the history
(cherry picked from commit 6ee7047)

Fixes #6594
  • Loading branch information
spalger authored and Spencer Alger committed Mar 22, 2016
1 parent 649714e commit 2fc06b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/jenkins.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2fc06b7

Please sign in to comment.