Skip to content

Throw instead of failing build on exception - #588

Open
ThrownToys wants to merge 1 commit into
jenkinsci:masterfrom
ThrownToys:feature/add-optional-throw-instead-of-build-failure
Open

Throw instead of failing build on exception#588
ThrownToys wants to merge 1 commit into
jenkinsci:masterfrom
ThrownToys:feature/add-optional-throw-instead-of-build-failure

Conversation

@ThrownToys

Copy link
Copy Markdown

This PR adds an optional boolean shouldFailBuild, defaulted to true, which when disabled will throw an error instead of failing the build.

This addresses issue #567

Testing done

Unit test has been added (I'm actually not sure how to run this locally, so I'm hoping build checks will run this for me).

Submitter checklist

  • [ x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [x ] Ensure that the pull request title represents the desired changelog entry
  • [x ] Please describe what you did
  • [x ] Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • [ x] Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@ThrownToys
ThrownToys requested a review from a team as a code owner February 3, 2026 10:38
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant