call build definition from command line
RAVI YADAV (11●3)
| asked Aug 23 '17, 5:58 a.m.
edited Aug 29 '17, 11:35 a.m. by David Lafreniere (4.8k●7) I need to call multiple "build definition" from jenkins job.
I have used Team Concept plugin. However, its limitation is that it calls only one build definition.
I need to trigger build as soon as some developers deliver change set. I searched on various website, the best solution I found was to use scheduler. But this is not exactly what I was looking for.
If anyone know better solution, feel free to comment on that part.
|
Accepted answer
Ralph Schoon (63.7k●3●36●48)
| answered Aug 25 '17, 2:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I wonder how long your server will be able to sustain the build load if you start a build for every deliver or, how long the users will have to wait.....
David Lafreniere selected this answer as the correct answer
Comments I agree with Ralph, you likely would want to avoid long running/heavy builds if they were to be triggered on every delivery.
Ralph Schoon
commented Aug 29 '17, 1:24 p.m.
| edited Aug 29 '17, 1:25 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You could use ANT and request a build from the command line, couldn't you?
It should also be pretty basic to use the Java API to do so. The extension code does it already. Easy enough to wrap that code up into a small java program.
|
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.