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.
I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events