SonarQube webhook-action plugin for Imbi
Project description
imbi-plugin-sonarqube
SonarQube webhook-action plugin for Imbi.
The plugin registers a sonarqube entry in the Imbi plugin registry
(plugin type: webhook). When a SonarQube webhook arrives at
imbi-gateway and a matching WebhookRule dispatches to
imbi_plugin_sonarqube.actions.update_project_from_webhook, the
handler:
- Reads the metric→JSONPointer mapping from
WebhookRule.handler_config. - Fetches
/api/measures/componentfrom SonarQube using the plugin's stored API token and theThirdPartyService.api_endpoint. - Patches the matched Imbi project's facts.
Configuration
Operators attach a sonarqube plugin instance to the SonarQube
ThirdPartyService and store the SonarQube API token in the plugin's
encrypted credentials.
A typical webhook rule:
Handler: imbi_plugin_sonarqube.actions.update_project_from_webhook
Filter: /branch/is_main==true
Config: [
{"metric": "coverage", "path": "/test_coverage"},
{"metric": "ncloc", "path": "/lines_of_code"}
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imbi_plugin_sonarqube-0.0.0.tar.gz.
File metadata
- Download URL: imbi_plugin_sonarqube-0.0.0.tar.gz
- Upload date:
- Size: 93.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ab77a3692c56d06b52c8c042733be767b45907ea490bcb68c135acf471a459a
|
|
| MD5 |
ba449cff025905e78a1963f705a7546b
|
|
| BLAKE2b-256 |
97b1c95632d66ac6019e1e402ea32e0f5e1a69751a7390cf09247cde1115fcb1
|
Provenance
The following attestation bundles were made for imbi_plugin_sonarqube-0.0.0.tar.gz:
Publisher:
publish.yml on AWeber-Imbi/imbi-plugin-sonarqube
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbi_plugin_sonarqube-0.0.0.tar.gz -
Subject digest:
4ab77a3692c56d06b52c8c042733be767b45907ea490bcb68c135acf471a459a - Sigstore transparency entry: 1586393014
- Sigstore integration time:
-
Permalink:
AWeber-Imbi/imbi-plugin-sonarqube@9a91bc84ac3d9893d208b2278e19e0613cd5afe9 -
Branch / Tag:
refs/tags/0.0.0 - Owner: https://github.com/AWeber-Imbi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a91bc84ac3d9893d208b2278e19e0613cd5afe9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file imbi_plugin_sonarqube-0.0.0-py3-none-any.whl.
File metadata
- Download URL: imbi_plugin_sonarqube-0.0.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aad377473ebd06329137ea7c6833148054247a5a5c6acbdd44918ef3ca958e7c
|
|
| MD5 |
b15eec884375e155a5d26ea5c3264af4
|
|
| BLAKE2b-256 |
03c02f61fa2a791dbc3b0f6a3963f926fdfb1096a3e3dedcfd1c20dd4001788a
|
Provenance
The following attestation bundles were made for imbi_plugin_sonarqube-0.0.0-py3-none-any.whl:
Publisher:
publish.yml on AWeber-Imbi/imbi-plugin-sonarqube
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbi_plugin_sonarqube-0.0.0-py3-none-any.whl -
Subject digest:
aad377473ebd06329137ea7c6833148054247a5a5c6acbdd44918ef3ca958e7c - Sigstore transparency entry: 1586393079
- Sigstore integration time:
-
Permalink:
AWeber-Imbi/imbi-plugin-sonarqube@9a91bc84ac3d9893d208b2278e19e0613cd5afe9 -
Branch / Tag:
refs/tags/0.0.0 - Owner: https://github.com/AWeber-Imbi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9a91bc84ac3d9893d208b2278e19e0613cd5afe9 -
Trigger Event:
release
-
Statement type: