Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Restrict code deliver to stream if any SonarQube rule violation


Any plugin is available to restrict code deliver to stream if any SonarQube rule violation exist, or someone please explain the logic to write plugin for the same, I have some idea on writing rtc plugin.



0 votes



One answer

Permanent link
The general logic is explained in https://jazz.net/library/article/1000
Start here: https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/

On https://rsjazz.wordpress.com are various "Participants" - follow up actions and "Advisors" which are preconditions you want to write.

Then you need to know the Sonar API and you need to know how to know a rule fails. If it runs in the Eclipse client you have to write an eclipse client advisor extension it would run similar to the "Clean Workspace" and "No Unused Imports".

The key is, how your advisor knows that a rule is violated.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Oct 20 '14, 5:03 a.m.

Question was seen: 3,086 times

Last updated: Oct 20 '14, 5:59 a.m.

Confirmation Cancel Confirm