<< Back to previous view

[QB-2993] QB Plugin for Soanrqube
Created: 30/May/17  Updated: 30/May/17

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Julian Bassett Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
We need a plugin to use the web hooks feature from sonarqube (from v6.2 onwards) to stop the pipeline in Quickbuild or to trigger a new stage.

The plugin would be running in QB to implement two extension points:

1. The StepProvider to add a custom step type to do the job of sending some data to SonarQube to do necessary analysis.
2. The RestResourceContribution to add a custom RESTful service endpoint to process messages posted by SonarQube webhooks.

Then the logic will be something like this:
1. A build run your custom step
2. The custom step sends data to SonarQube for analyzing, and then wait for webhooks from SonarQube.
3. SonarQube sends webhooks calls to the RESTful service, and the custom step above can then decide whether or not to fail the build based on the analyzing result.

Thanks in advance
Julian
Generated at Fri May 03 00:33:06 UTC 2024 using JIRA 189.