It's all about the answers!

Ask a question

Hooks in RTC 3?


Carlos Andreu (1312) | asked Sep 11 '12, 2:02 p.m.
 I want to execute some code* every time I check-in** code, does RTC provide any hooks for me to do this?

* It can be java code, a shell script, etc. whatever is the easiest thing. 
** It can be when I check-in, or when I create a change set, or when I deliver... whatever is the easiest thing. 

Accepted answer


permanent link
Jorge Diaz (8664134) | answered Sep 12 '12, 9:43 a.m.
JAZZ DEVELOPER
Hi Carlos,
the equivalent for your "hooks" in RTC are called operation participant (follow-up actions). If you open your Project Area editor and navigate to Process Configuration (tab) > Team Configuration > Operation Behavior, you will find that the operations for Source Control for which you can define such follow-ups are Deliver (at client or server), Modify Component and Save Change Set links, no event control for the check-in operation.

You can code this type of follow-up operations in Java if you need to increase/tailor what the tool provides. I would recommend you to check the following resource to learn the basics: https://jazz.net/library/article/1000/

Regards,

Jorge.
Carlos Andreu selected this answer as the correct answer

Comments
Jorge Diaz commented Sep 12 '12, 9:44 a.m.
JAZZ DEVELOPER

I realized you are talking about version 3, so you rather want to look at the resource for that version: https://jazz.net/library/article/634


Carlos Andreu commented Sep 12 '12, 10:10 a.m.

Thanks, I'll look into that.

Your answer


Register or to post your answer.