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. |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 20 '14, 5:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
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.