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

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.

0 votes


Accepted answer

Permanent link
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

1 vote

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,940

Question asked: Oct 08 '13, 2:03 a.m.

Question was seen: 5,099 times

Last updated: Oct 08 '13, 2:13 a.m.

Confirmation Cancel Confirm