Post-commit hook in RTC?
I am really new with RTC. Here's a summary of the inquiry:
Context: RTC as an SCM tool and Hudson/Jenkins as build and CI engine
Goal: trigger a build each time a commit is executed in RTC
:?: Inquiry: Is there a way to define a post-commit hook in RTC as an SCM tool such that whenever there's a code commit, it remotely triggers a build in Hudson/Jenkins?
Appreciate your inputs!
Context: RTC as an SCM tool and Hudson/Jenkins as build and CI engine
Goal: trigger a build each time a commit is executed in RTC
:?: Inquiry: Is there a way to define a post-commit hook in RTC as an SCM tool such that whenever there's a code commit, it remotely triggers a build in Hudson/Jenkins?
Appreciate your inputs!
2 answers
Yes there is, it is described in general here: https://jazz.net/library/article/1000 for the RTC Build engine.
For Jenkins/Hudson, I am not sure. You might want to look into the new integration now provided.
If not, technically, if you can communicate you could use the same mechanism to tell Jenkins to build. Or you could create something in Jenkins that checks for incoming changes on a stream and kick off the build.
For Jenkins/Hudson, I am not sure. You might want to look into the new integration now provided.
If not, technically, if you can communicate you could use the same mechanism to tell Jenkins to build. Or you could create something in Jenkins that checks for incoming changes on a stream and kick off the build.
Comments
every opcion jenkins offers is based on polling the SCM for changes on a certain schedule. im looking for a way to trigger post commit builds immidiately from RTC but there is not much information on it.
I would go the way of extensions as well. You could implement a deliver participant that triggers a build. It would be the right place to kickoff a build. I suggest checking out the article to see if you can do what you need.
Comments
Frederick Clark
Jun 13 '13, 11:51 a.m.i have the same problem... have you figured out a solution yet?