13 lines
358 B
JavaScript
13 lines
358 B
JavaScript
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
|
|
]));
|
|
});
|
|
|
|
};
|