[ci] compact the legacy jenkins sub-task list
This commit is contained in:
parent
d54e0d5293
commit
5f61d48a1b
|
@ -3,12 +3,12 @@ import { delimiter } from 'path';
|
|||
|
||||
module.exports = function (grunt) {
|
||||
// TODO: remove after migration to new CI is complete
|
||||
grunt.registerTask('jenkins', [
|
||||
grunt.registerTask('jenkins', compact([
|
||||
'jenkins:env',
|
||||
'rejectRejFiles',
|
||||
'test',
|
||||
process.env.JOB_NAME === 'kibana_core' ? 'build' : null
|
||||
]);
|
||||
]));
|
||||
|
||||
grunt.registerTask('jeknins:env', () => {
|
||||
// make sure JAVA_HOME points to JDK8
|
||||
|
|
Loading…
Reference in a new issue