[jenkins] build snapshots as the final task of core jobs
This commit is contained in:
parent
5a8f7701e0
commit
8b37a1fc23
|
@ -1,8 +1,10 @@
|
||||||
module.exports = function (grunt) {
|
module.exports = function (grunt) {
|
||||||
|
let { compact } = require('lodash');
|
||||||
|
|
||||||
grunt.registerTask('jenkins', 'Jenkins build script', [
|
grunt.registerTask('jenkins', 'Jenkins build script', compact([
|
||||||
'esvm:dev',
|
'esvm:dev',
|
||||||
'test'
|
'test',
|
||||||
]);
|
process.env.JOB_NAME === 'kibana_core' ? 'build' : null
|
||||||
|
]));
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue