mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[java] use jdk8 on jenkins
This commit is contained in:
parent
4480595d20
commit
6ee704772d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue