Hooks in RTC 3?
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
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.
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.
Comments
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
Thanks, I'll look into that.