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

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!

3 votes

Comments

i have the same problem... have you figured out a solution yet?



2 answers

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

1 vote

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.


Permanent link
Jorge Díaz from the Jazz Jumpstart Team has example code for this: http://jorgediazblog.wordpress.com/2013/01/24/rtc-build-on-deliver-participant/

0 votes

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,952
× 562
× 151

Question asked: May 10 '12, 2:38 a.m.

Question was seen: 9,216 times

Last updated: Jun 17 '13, 4:17 p.m.

Confirmation Cancel Confirm