Skip to content

Commit

Permalink
[Integration] [Sonarqube] Added __branches as exported data (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
phalbert authored Dec 24, 2024
1 parent 422c22b commit 456614b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions integrations/sonarqube/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- towncrier release notes start -->


## 0.1.123 (2024-12-24)


### Improvements

- Added __branches as project attribute in order to map project branches


## 0.1.122 (2024-12-23)


Expand Down
1 change: 1 addition & 0 deletions integrations/sonarqube/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ async def get_single_project(self, project: dict[str, Any]) -> dict[str, Any]:
project["__measures"] = await self.get_measures(project_key)

branches = await self.get_branches(project_key)
project["__branches"] = branches
main_branch = [branch for branch in branches if branch.get("isMain")]
project["__branch"] = main_branch[0]

Expand Down
2 changes: 1 addition & 1 deletion integrations/sonarqube/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sonarqube"
version = "0.1.122"
version = "0.1.123"
description = "SonarQube projects and code quality analysis integration"
authors = ["Port Team <[email protected]>"]

Expand Down

0 comments on commit 456614b

Please sign in to comment.