-
Notifications
You must be signed in to change notification settings - Fork 612
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
Threads unexpectedly die when using labels in github #523
Comments
@prediktorn That's interesting. I'd like to ask you some more questions if you don't mind...
While the plugin supports deciding whether or not to build based on label, we haven't wired it specifically to handle label events. So that's my first or second suspicion here... |
We are using version 1.85 of the github-api. |
This issue is caused by the github lib on these occasions will catch an IOException and wrap it in a java.lang.Error. This plugin has a catch-all in the thread for Exceptions, but that does not catch an Error. I've changed that to catch Throwable, which will catch both Error and Exception. I've also added some catching of Error higher up where it catches IOException. Pull request will come |
#570 is merged now, closing this for now. |
Jenkins version: 2.46.2
Plugin version: 1.36.2
We have a problem where threads die when we have created a pull request with labels in github. In github we have set the webhook to trigger when we have a Pull Request event.
Pull request
Pull request opened, closed, reopened, edited, assigned, unassigned, review requested, review request removed, labeled, unlabeled, or synchronized.
The output from our jenkins log looks like this:
The text was updated successfully, but these errors were encountered: