Skip to content
CJ Cenizal edited this page Jul 7, 2016 · 2 revisions

As of July 6th Kibana migrated PR and snapshot CI jobs to https://kibana-ci.elastic.co. This change introduces some changes, and seemed like a good time to write some docs.

Triggers

CI jobs are triggered when changes are pushed to a pull request or a version branch (master, 5.x, etc.). On each change a "MultiPhase Projects" will be kicked off for the specific commit that was submitted. These meta jobs are currently just made up of two parts, the "intake" phase and the "selenium" phase. This is likely to change as we mature our CI strategy.

Projects

Review failed jobs

When a job fails you can figure out what happened by looking at the console output produced. To find the console output:

  1. Open the project for the failed job

  2. Open the page for the failed build by finding it in the Build History column on the left of the project index

![Project index page with one failed job at the top of the build history](imgs/jenkins/faliled-job-queue.png)
  1. Click the "Console Output" link for the phase that failed
![Build Page, pointing to Console Output link](imgs/jenkins/failed-job-page.png)
  1. Search the console output (there is probably a lot of it) to figure out what went wrong.

Can't find the failure in the intern output? For Intern based tests, failures are logged inline amongst a ton of other output so they can be a bit hard to find. Click the "Full Log" link at the top of the log output and search for "> FAIL:" for find them.

Retry failed PR tests

If your PR was not properly validated, but you are confident that it was because of some strange hiccup in the environment (selenium race condition, git hiccup, etc.) then you can try rerunning the tests with the comment "jenkins, test it".