History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2993
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Julian Bassett
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

QB Plugin for Soanrqube

Created: 30/May/17 09:13 AM   Updated: 30/May/17 09:13 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.