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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.