-
Notifications
You must be signed in to change notification settings - Fork 28
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
Get statistics with Inespections #235
Comments
Sorry for the delay. I'll look at this after I've fixed #236 |
No worries at all. Thx for the support |
Any idea? |
Are you still running 2023.05.4 and tcWebhooks 1.2.5? |
Yes we do - not sure when we will move the next version. We have on Dev (2024.03) now |
Is this the result of an actual build sending to the
|
no to |
I am wondering if inspections are assembled after the build completes, and perhaps are not available at the time that the webhook runs. None of my test builds appear to have inspections on them in the REST API or in webhook payload. I am not using a jetbrains inspections tool. Mine are just standard maven builds. |
Hm could be a possible. For unit tests it is working - I'll check with a small example. |
Created an issue here |
Thanks |
From the issue above:
can you provide feedback? |
I'm so sorry I missed that comment. I'm looking at this today. I'll get a build ready for you to test by tomorrow. |
I have implemented the change as suggested by Kir. Can you please test a build from this branch? You can just login as guest download the zip. I've built this from version 2.0.1. Are you still on 1.2.5? If so, I'll need to do a new build for you. |
We are using 2.0.1 => will come to with feedback. Thx for this fast feedback. |
Sorry for the delay - using: same issue to report. I dont see it correct in the endpointviewer :( |
did already add the change proposed by jet brains? |
The change ended up being a significant amount of work. |
I have pushed 2.0.2-rc.2 The build is now available at issue_235-missing_inspections This fixes an issue where it would take an hour to time out when not all build statistics had been received even though the build had completed and everything else had worked correctly. See updated docs at: Waiting-for-Build-Statistics-to-be-published |
I've updated the docs with a diagram to better explain the timeline and which configuration settings affect the execution of the webhook. |
Thx for this update - let me try to test this plugin this week. Thx for all the efforts you did |
Hey,
I've trouble to find a solution to get statics of InspectionStatsE & InspectionStatsW.
If I check following url
I see the correct payload:
if I try to collect the data via velocity
but this only responding:
Additional test:
If I check on Preview Template Payload
I see correct payload
on endpoint-viewer:
Can you provide some guidance - #https://javadoc.jetbrains.net/teamcity/openapi/current/jetbrains/buildServer/serverSide/SBuild.html#getFullStatistics()
Do I check the wrong commands?
TeamCity Server: TeamCity Enterprise 2023.05.4 (build 129421)
Plugin: 1.2.5
The text was updated successfully, but these errors were encountered: