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

fix(jenkins): Stop or delete from queue #811

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

marchello2000
Copy link
Contributor

Stop a build can mean a) stopping it or b) removing it from the queue if hasn't started.
Today, igor, will attempt both if the build has been started. This can cause a 500 from jenkins server which is propagated to orca which then fails to actually complete the cancellation of a pipeline.
(it's mostly harmless but it can cause issues and it also generates a bunch of exception noise)

This change stops the build if it was started OR removes it from the queue if it wasn't started not both

Stop a build can mean a) stopping it or b) removing it from queue if hasn't started.
Today, igor, will attempt both if the build has been started. This can cause a 500 from jenkins server which is propagated to orca which then fails to actually complete the cancellation of a pipeline.
(it's mostly harmless but it can cause issues and it also generates a bunch of exception noise)

This change stops the build if it was started OR removes it from the queue if it wasn't started not both
@gal-yardeni
Copy link
Contributor

@marchello2000 is this related to the oncall question from yesterday? :)

@marchello2000
Copy link
Contributor Author

@marchello2000 is this related to the oncall question from yesterday? :)

No, not related, just a general error handling improvement

@marchello2000 marchello2000 added the ready to merge Approved and ready for merge label Jul 9, 2020
@mergify mergify bot merged commit 23bc829 into spinnaker:master Jul 9, 2020
@mergify mergify bot added the auto merged label Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants