kibana/tasks/jenkins.js
Josh Dover 94c4eb2b33
[6.x] [ci] Use trap to generate report for non-PR build (#26829) (#28531)
* [ci] Use trap to generate report for non-PR build (#26829)

Since this is no longer part of a reporting task in Jenkins, we no
longer need to re-run kbn bootstrap when generating a report.

We use the PR_SOURCE_BRANCH environment variable to prevent genererating
Github issues when we are on a PR.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fix report test failures done callback (#28348)
2019-01-11 09:58:20 -06:00

42 lines
1.3 KiB
JavaScript

/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
module.exports = function (grunt) {
grunt.registerTask('jenkins:docs', [
'docker:docs'
]);
grunt.registerTask('jenkins:unit', [
'run:eslint',
'run:tslint',
'run:sasslint',
'run:typeCheck',
'run:i18nCheck',
'run:checkFileCasing',
'licenses',
'verifyDependencyVersions',
'run:verifyNotice',
'test:server',
'test:jest',
'test:jest_integration',
'test:projects',
'test:browser-ci',
'run:apiIntegrationTests',
]);
};