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
One answer
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
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
Comments
sam detweiler
Apr 29 '14, 9:58 a.m.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
Manish Ranglani
Apr 29 '14, 10:07 a.m.Thanks for the reply Sam.
I tried to create a new build engine but i cant see option for Jenkin engine type.
sam detweiler
Apr 29 '14, 10:07 a.m.and u could also just select the 'Just accept and fetch from a build workspace' instead of using a build definition
sam detweiler
Apr 29 '14, 10:12 a.m.select new Build Engine, Create new, then u should see this dialog
Manish Ranglani
Apr 29 '14, 10:26 a.m.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?
sam detweiler
Apr 29 '14, 12:31 p.m.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.