If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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
|
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 |
Show » |
There are no comments yet on this issue.
|
|