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
showing 5 of 6
show 1 more comments
|
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 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 .
|
Comments
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.