It's all about the answers!

Ask a question

Automatic Sync Source Code through RTC in Hudson


Santosh Ghule (111) | asked Mar 28 '12, 1:03 a.m.
retagged Aug 16 '12, 9:05 a.m. by Nhi P Ta (18841018)
Hi,
I am new to Hudson world.
I want to sync my Workspace through RTC in Hudson.
I have mentioned Correct URL.
I am not understanding what is "Workspace Mapping" parameter for.
I specify its are my Workspace name.

When I Build the project i could see the following logs.

Started by timer
RTCSCM: Preparing to run a CheckoutTask.
RTCSCM: Workspace to check out: []
RTCSCM: Start the CheckoutTask.
RTCCheckout: Inside CheckoutTask.Invoke()
RTCCheckout: About to checkout
RTCCheckout: Completed the checkout?: true
RTCSCM: Completed the CheckoutTask.
Finished: SUCCESS


Please help me how to automatically sync workspace

2 answers



permanent link
Spencer Murata (2.3k115971) | answered Aug 16 '12, 9:34 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
 I'm not sure what the context is here.  The RTC workspace is not going to be automatically synced, you will have to maintain the workspace via the SCM CLI or the build Ant tasks.

~Spencer

Comments
Anthony Kesterton commented Sep 10 '12, 9:42 a.m.
JAZZ DEVELOPER

Hi Spencer

Are you aware of any work to add RTC as an SCM "provider" in Hudson (or Jenkins). This would remove the need to use the commandline when using the predefined Hudson build specification.

thanks

anthony


Spencer Murata commented Sep 10 '12, 5:26 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

I wrote an integration, but am held up by legal on that. Deluan has his own integration here. Its mostly complete, but he hasn't done anything lately with it, but it would get you started. https://github.com/deluan/rtc-build-plugin


Anthony Kesterton commented Sep 10 '12, 6:30 p.m. | edited Sep 10 '12, 6:31 p.m.
JAZZ DEVELOPER

My customer pointed me to the following:

http://updates.jenkins-ci.org/download/plugins/rtc/

The plugin dev page is here - https://wiki.jenkins-ci.org/display/JENKINS/Rational+Team+Concert+Plugin

They had the setup running in an afternoon and it all seems to work - no problems as yet.

.... and just realised it is the one Deluan wrote :-)


permanent link
sam detweiler (12.5k6195201) | answered Sep 10 '12, 6:04 p.m.
Please everyone, we discovered a long old bug here..  if the users credentials fail, disable polling of the workspace.
bad things happen when u have too many failed logons concurrently.. (ours was up near 6 a second, people forget where they have coded their credentials on build orchestration systems)..

hudson/jenkins still has this problem.

Your answer


Register or 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.