RTC and Jenkins Integration: Can Multiple Jenkins Jobs be trigered
I have integrated RTC and Jenkins to trig my Jenkins job from RTC Client. I am able to trig the Jenkins job 1 using my build definition (Request Build option) from RTC Client. I have another Jenkins job 2, which needs to be triggered after Job 1 gets succeded. My questions here are, does RTC has an option to trig second build automatically by seeing the result of first build? Does RTC/CLM has any Command Line support for trigging the jobs covering the above scenario too? Can we select multiple builds and request/trig the selected builds parallel?
2 answers
There is no RTC option to trigger a second build. Jenkins has support for chaining builds together, but it would be up to you to configure those chained project to contribute things back to RTC. Note that once a RTC build result is completed it cannot be edited further. So to sum up you can execute many builds in parallel from RTC to Jenkins, and those builds can trigger more builds in Jenkins from Jenkins, but more configuration is required to get those additional builds reported into RTC.
~Spencer
I have a similar issue.
I have built a script to request builds in atlassian bamboo. I intended to use the same build engine for all build definitions in RTC but as my script is synchronous and it waits for the build output to return, the build requests seems to wait to start another build.
Is there any way to make it spawn threads or something similar?
Thanks,
Rafael
Comments
sam detweiler
Mar 02 '15, 2:10 p.m.jenkins has all kinds of support for triggering jobs.