I have Bitbucket and Jenkins hosted on private servers. The main repository primarily uses C++ so currently I have a script that triggers various Jenkins builds on every commit to master. One of these builds is a formatting script, which uses things like clang-tidy and clang-format on the C++ files in the repo and creates a new branch with those fixes. This works but it's not ideal because it scans all the files in the repo and its difficult to review the changes when a big merge commit is pushed to master.
What I'm looking for is the ability to use the inline-suggestion feature in Pull requests for this. If I could trigger a Jenkins build from the Pull request branch which can run, say, clang-format over the branch files and suggest the formatting changes as inline-suggestions on the Pull request, it would make life easier because then the developer who works on the Pull request can decide which changes to keep.
Unfortunately I haven't been able to find a way to make inline suggestions without using the browser client of Bitbucket. Is there any feature/plugin that can help me do this?
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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