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

Get updated pull request info when edited from Github [JENKINS-44715] #192

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

gordonshieh
Copy link

Here's a use case scenario that this submission addresses:

We have a when conditional to skip CI builds when there is "WIP" in the pull request title. Our builds are slow running (~2-3 hours), so the ability to skip is absolutely necessary.
A developer edits the pull request title, removes "WIP" and reruns the pipeline.
Without this change to the plugin, the pipeline will use the old title, and not see the updated title. The when conditional will falsely evaluate to true because it is not reading the latest title of the pull request.

@rsandell rsandell merged commit 502a0d5 into jenkinsci:master Jan 23, 2019
@gordonshieh gordonshieh deleted the UpdateOnPREdit branch February 9, 2019 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants