Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dev tool for finding Jenkins jobs for a Beats PR #15912

Merged
merged 3 commits into from
Jan 28, 2020

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jan 28, 2020

What does this PR do?

Adds a developer tool script, find_pr_jenkins_jobs.sh. This script will find and list out Jenkins CI jobs for a given Beats PR.

Sample usage

$ ./find_pr_jenkins_jobs.sh 15790
Searching last 100 Jenkins jobs for PR number: 15790...
https://beats-ci.elastic.co/job/elastic+beats+pull-request/8216/
https://beats-ci.elastic.co/job/elastic+beats+pull-request/8176/

Why is it important?

Could be useful when trying to find all old Jenkins CI builds for a PR, particularly if CI has been re-run repeatedly on that PR with a jenkins, test this command. This often happens on PRs that are testing solutions to flaky tests (e.g. #15790).

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works

@ycombinator ycombinator added Team:Integrations Label for the Integrations team automation labels Jan 28, 2020
@ycombinator ycombinator requested a review from a team January 28, 2020 18:03
@ycombinator ycombinator merged commit 308161c into elastic:master Jan 28, 2020
@ycombinator ycombinator deleted the script-find-pr-jenkins-jobs branch January 28, 2020 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants