Skip to content

Commit

Permalink
[java] use jdk8 on jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Feb 6, 2016
1 parent 4480595 commit 6ee7047
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 6ee7047

Please sign in to comment.