You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When submitting an annotation report using atlassian/checkstyle-report:0.3.2 the API returns a Response:400 Bad Request with the message "Duplicate annotation id found in list" (note I set the pipe's DEBUG variable to 'true' to view this output).
Inspecting the request body, there are indeed several duplicate
<error line="152" column="17" severity="error" message="Missing newline before ")"" source="indent" />
<error line="152" column="18" severity="error" message="Missing newline before ")"" source="indent" />
the same "external_id" value of is calculated.
Updating the calculation looks like a simple fix:
https://bitbucket.org/atlassian/checkstyle-report/src/9b9fc122542cf8bcbd40c4db9275978497e6185a/src/main/java/com/atlassian/bitbucket/pipelines/checkstyle/report/Main.java#lines-240
@Christopher Hill hi. Thanks for your feedback.
It's a good idea to contribute with your custom pull request with your suggested solution for this pipe.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Christopher Hill hi. We released new version 0.4.0 of the checkstyle-report pipe including changes according to your PR.
Regards, Igor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.