It's all about the answers!

Ask a question

getNextTeamBuildRequest - should it have a timeout parameter


Brian Gillan (3215330) | asked Aug 07 '08, 3:28 p.m.
I assume this task is meant for implementing your own build engine that
waits for requests from an RTC repository and then runs or dispatches a
build process. I'm fairly new to Ant and not sure how to go about this.
Can someone suggest how it would be used to achieve this? I' surprised
there's no timeout value so you can specify how long to wait.

Thanks, Brian

One answer



permanent link
Ryan Manwiller (1.3k1) | answered Aug 07 '08, 4:19 p.m.
JAZZ DEVELOPER
The task does not wait for a request. It checks for one. If none is found,
it returns immediately and the property name you specified in
requestUUIDProperty will not be defined. The help content is not quite right
on this. I've created work item
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/59649

If you want "build engine" behavior, you'd need to repeatedly invoke this
task (for example, invoking ant from cron).

Admittedly, we have few if any real world examples of using this task. But
the intent is that you can use it to process requests and then run builds
for them using the other tasks.

---
Ryan Manwiller
Jazz Team

Your answer


Register or 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.