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

RTC Commit Hook

I don't know much regarding RTC proper but we have an initiative in out DevOps group to provide CI processes/builds from SCM systems including RTC.

Our build/deploy tool is from IBM called uBuild/uDeploy/uRelease that we intend on kicking off pre-defined builds of various applications and components.  I am in a .NET development group so I'm a little like a fish out of water when looking at your integration scenarios as they tend to be more Java/Ruby based so they seem a little foreign to me.

We need a trigger of sorts or some process kicked off when RTC's SCM commits changesets to the repository.  Hopefully, this would include metadata regarding which component/application is being checked in.

So, in question form, how do we get notified of check ins by developers into RTC? 

0 votes


Accepted answer

Permanent link
 In order to get pre and post notifications for check-ins, you would have to create operations advisors and install them on  the server. 
This article describes what an operation advisor is and how to create one -
https://jazz.net/library/article/495

You would need to setup your dev environment to develop the advisor.
This article describes how you can set your dev environment -
https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/

There is also a workshop if you are interested (it may be for client side only though)
https://jazz.net/library/article/1000

Steven Myron selected this answer as the correct answer

0 votes


2 other answers

Permanent link
My understanding is that pre/post conditions are not available on the check-in operation (Surya: Has this changed?)

0 votes

Comments

 No, it hasn't changed. Somehow I had a feeling that Steven Myron is interested in 'deliver' hooks.


Permanent link
there are two commit/deliver hooks available outside the product

see the last two posts here
https://jazz.net/forum/questions/132739/jenkins-polling-is-too-slow-can-rtc-notify-jenkins-immediately

Jorge has one that triggers build defs
I have one that triggers a script from which you can do almost anything.

mine is more like svn/post_commit or git/post_receive hooks and must be configured for every project, just like the svn/git repo hooks

the hook is passed the following info:

repo_url
project name
stream name
component name
changeset UUID
action string = either 'Baseline' or 'Changset'

these are both 'deliver' to stream hooks.  RTC does not provide an event point on client checkin to workspace.

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,936
× 1,202
× 382

Question asked: May 08 '15, 3:46 p.m.

Question was seen: 5,906 times

Last updated: May 11 '15, 12:24 p.m.

Confirmation Cancel Confirm