2015-07-28 17:23:56 +02:00
|
|
|
module.exports = function (grunt) {
|
2015-08-19 04:26:15 +02:00
|
|
|
let { compact } = require('lodash');
|
2015-07-28 17:23:56 +02:00
|
|
|
|
2015-08-19 04:26:15 +02:00
|
|
|
grunt.registerTask('jenkins', 'Jenkins build script', compact([
|
2015-07-28 17:23:56 +02:00
|
|
|
'esvm:dev',
|
2015-08-19 04:26:15 +02:00
|
|
|
'test',
|
|
|
|
process.env.JOB_NAME === 'kibana_core' ? 'build' : null
|
|
|
|
]));
|
2015-07-28 17:23:56 +02:00
|
|
|
|
|
|
|
};
|