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

Pull source code from RTC using Jenkins

Hello Everyone,

I am new to RTC and Jenkins world.

I have added RTC - plugin and build tool kit to Jenkins and test connection with the RTC is successful.

Now i need to pull source code from RTC using Jenkins.

If you can guide me ahead.

Thanks in advance

0 votes

Comments

you create a build definition on RTC that says load from this workspace (these components) ...  and u need a build engine on RTC that talks to Jenkins.
my jenkins job looks like this

Thanks for the reply Sam.

I tried to create a new build engine but i cant see option for Jenkin engine type.

and u could also just select the 'Just accept and fetch from a build workspace' instead of using a build definition

select new Build Engine, Create new, then u should see this dialog


I will go with 'Just accept and fetch from a build workspace'  this option.

In build trigger section which condition can help me to create a build when ever a new change is checked-in?

RTC does not provide an 'immediate' build trigger. the build engines (JBE and Jenkins) need to poll.

on the JBE build engine definition says how often (default 3 minutes)..
on the jenkins side, in the job either select build periodically, or poll scm
both will ask for the schedule, see the ? help for the format. (cron typically)

in the RTC build definition, there is a checkbox for build only if changes. so it will poll, check for changes, and if none, quit silently.

showing 5 of 6 show 1 more comments


One answer

Permanent link
Hello,

Have you already seen this technote?

http://www-01.ibm.com/support/docview.wss?uid=swg21664334

Please let me know if you have further questions.

Thank you and regards, Lara

0 votes

Comments

My apology, I mis-read your question and assumed you were asking about UrbanCode Deploy/RTC/Jenkins. If you are not using UrbanCode Deploy, then the above technote does not apply to your case.

Yes. i just need to pull the source code .
Thanks for the reply Lara.

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
× 1,700
× 383
× 382

Question asked: Apr 29 '14, 9:40 a.m.

Question was seen: 6,919 times

Last updated: Apr 29 '14, 12:31 p.m.

Confirmation Cancel Confirm