[ci] compact the legacy jenkins sub-task list

This commit is contained in:
spalger 2016-07-01 12:00:39 -07:00
parent d54e0d5293
commit 5f61d48a1b

View file

@ -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