-
Notifications
You must be signed in to change notification settings - Fork 21
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 doesn’t send comments to bitbucket #58
Comments
Are you sure that the |
Yes. Files mentioned in the |
Yes relative paths msy be the problem. See also: tomasbjerre/violations-lib#40 |
Removed all relative path from the report, but this didn't help me.
I've looked quickly into your code and as I understand it means that file is changed and comment will be send. Am I correct?
|
Releasing 1.82 now. It should give you some helpful information in the build log. |
Thanks for this release, it's very useful output information. I found out that plugin doesn't see any changed files. Could you please describe how does plugin detect which files were already changed or in what parts of the code I need to look, to understand how it works? |
That would be here in And that looks like this returns no files: What does it return? |
It returns
|
I'm releasing 1.83 now with some more logging. |
Thank you. The problem was in that the plugin didn't get a proper response.
And this is quite strange, because before executing this step I do a request to the same DNS name with HTTPrequest plugin and get proper response. |
Ok. What does the build log look like now? Is this problem obvious for anyone looking at the build log? Do you still think this might be a problem with the plugin? |
Log looks awesome, currently it is really easier to investigate a problem. I think might be good for each request write to the log: request URL, headers, response code and response body. It's very useful info for debugging. |
Are you using nodes? Or running everything on master node? And are you making that request on same node as the plugin is running on? |
I use separate build node, but all steps run on the same node |
One guess is that it could be that the plugin is using a proxy. If you have a proxy configured in Jenkins the plugin will pick it up and use it. There is no logging saying that the proxy is used. But there is logging saying that is is not used. So if you don't see any |
Yep, that was a problem! Thank you for your help! |
Yes adding that! |
I can't realize why it doesn't publish comments into bitbucket.
Here is a part of pipeline:
And here what I see in jenkins console:
Jenkins log is empty, no errors during a build.
What I do wrong?
Best regards,
Aleksei Philippov
Hello Tomas,
Could you please help me with this plugin. I can't realize why it doesn't publish comments into bitbucket.
Here is a part of pipeline:
And here what I see in jenkins console:
Jenkins log is empty, no errors during a build.
What I do wrong?
The text was updated successfully, but these errors were encountered: