Gated Checkin in RTC
I wanted to bring in a gated check-in ability to my project executed in RTC. I wanted to integrate a static analysis tool which get's triggered when the developer checks in code and fail the check in if the code do not follow the quality rules configured in the tool.
Can some one guide me on how to do this. |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 08 '13, 2:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is, unfortunately, no extension point for check in. There is only one for deliver. You would have to create an Extension, an advisor, on delivery, that runs the status of the static analysis tool. It needs to be a client side extension, because the analysis tool most likely runs on the client. The advisor would block delivery in case the analysis did not run or did not succeed. See https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ for how to create advisors and the related posts you should read, including a links to the Extensions workshop.
Praveen Kumar selected this answer as the correct answer
|
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.