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.
Hello.
Following the tutorial at https://developer.atlassian.com/server/bitbucket/tutorials-and-examples/code-insights-tutorial/ I want to parse clang-tidy build warnings to create code insight report and annotations and post them to Bitbucket.
The Bamboo's built-in feature "Build warnings parser" does a great job in parsing several output formats, including clang and creates a build artifact. That is a zip file containing a well-formatted JSON file with all parsed warnings. This I can download manually from Bamboo UI.
However, I have an issue to find out, how to access this artifact from within a task following my "Build warnings parser"-task. I want to create a task that calls a script to parse the JSON and post the data to Bitbucket as described in the tutorial. But, where is this artifact located? I cannot find it in the build directory on the build agent, nor on the Bamboo server.
I don't want to implement the same functionality as the Build warnings parser already does, namely parse a rather cryptical clang log file, but make use of the build warnings parser output format that is uniform for any build outputs (maven, javac, jslint etc.), so I can reuse my script for posting code insights to Bitbucket for our other projects using other programming languages and their linters.
So my question is - how can I access the "build warnings parser"-artifact from a task?
Any help appreciated.
Hello Rasti,
Were you able to get the data from Clang and post it to the Bitbucket code insights?
Hello @rafaelBauer ,
unfortunately, as I didn't get any answer to this question, I'm still on the same stand.
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.