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

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?

0 votes

Comments

jenkins has all kinds of support for triggering jobs.



2 answers

Permanent link
 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

0 votes

Comments

in Jenkins you can even wait for multiple parallel jobs to complete and then pick up where you left off in this job.. (ala join the workflow back together)


Permanent link
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

0 votes

Comments

Only thing you can do is start more build engines that process that same build def to get horizontal scaling

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
× 12,019
× 7,494
× 562
× 151

Question asked: Mar 02 '15, 2:30 a.m.

Question was seen: 6,432 times

Last updated: Feb 23 '21, 1:34 a.m.

Confirmation Cancel Confirm