-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Plugin fails to add comment on JIRA issue even if it adds link to JIRA issue on "Changes" tab in Jenkins #395
Comments
What do you see in the build logs? |
@rantoniuk |
This issue happens for us as well. |
Can you share your Jenkinsfile? |
@rantoniuk,
It looks like the plugin makes a lot of tries to add a comment but does not log a failure. I see in the line
saveIssues() or the annotate() methods. Also it would be helpful to write a notification that operation succeeded.
|
THe |
@rantoniuk, To make sure there is no unhandled exceptions I propose to wrap code in the public void annotate(Run<?, ?> run, Entry change, MarkupText text) {
try {
//....
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Error annotating of change log", e);
throw e;
} Otherwise I do not see any way to find the cause of this issue. |
No PR needed is needed yet - just change the code, compile and run the custom plugin on your instance to see if you can find the root cause. You can build your custom plugin with Make as many changes as you need to find the root cause, then:
|
Hi,
I have followed these steps:
How can I troubleshoot this and see what's happening and what could be wrong ?
Thanks a lot for your help !
The text was updated successfully, but these errors were encountered: