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

[JENKINS-56544] Don't set build result in Declarative agent blocks #445

Merged
merged 1 commit into from
Mar 20, 2019

Conversation

dwnusbaum
Copy link
Member

@dwnusbaum dwnusbaum commented Mar 20, 2019

Analogous to the fixes in jenkinsci/pipeline-model-definition-plugin#322 (JENKINS-56544), since this DeclarativeAgentScript has the same problem.

Fixes issues where parallel stages with failFast would cause the build result to be aborted instead of failure in some cases. Easiest to review the whitespace-reduced diff since this just removes a try/catch and de-indents the block. Happy to re-indent to avoid touching the lines if desired.

CC @abayer

@abayer
Copy link
Member

abayer commented Mar 20, 2019

lgtm!

@carlossg carlossg merged commit 4d34197 into jenkinsci:master Mar 20, 2019
@dwnusbaum dwnusbaum deleted the JENKINS-56544 branch March 20, 2019 20:08
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.

3 participants