Skip to content

Integration: Bitbucket #1317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bhirsz opened this issue Mar 13, 2025 · 0 comments
Open

Integration: Bitbucket #1317

bhirsz opened this issue Mar 13, 2025 · 0 comments

Comments

@bhirsz
Copy link
Member

bhirsz commented Mar 13, 2025

Provide integration with Bitbucket code insights.

I've done initial research and I see that Bitbucket only supports uploading results 'manually' by using their API.

We can:

  1. Create bitbucket report that will produce report.json and annotation.json which users can upload on their own (in their script)
  2. Additionally create small util that can be run to upload results through API

For API we need libraries such as request or similar. Since we only need to POST to two endpoints we don't need bitbucket python library etc. It could be added as separate pypi mode (pip install robotframework-robocop[bitbucket]).

Official documentation:

https://developer.atlassian.com/server/bitbucket/tutorials-and-examples/code-insights-tutorial/
https://docs.atlassian.com/bitbucket-server/rest/7.9.0/bitbucket-code-insights-rest.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant