requestTeamBuild + waitforTeam Build error
![]()
David Cecil (6●2●4)
| asked Oct 25 '13, 4:07 a.m.
retagged Dec 16 '13, 1:01 p.m. by David Lafreniere (4.8k●7)
Hi,
I'm attempting to start a Jazz build from another Jazz build, but I don't want the parent to complete until the child is complete. I'm starting the child like this: <target name="request_build"> <requestTeamBuild repositoryAddress="https://192.168.115.102:9443/jazz/" userId="<my_user_id>" password="<my_pass>" requestUUIDProperty="childBuildRequestUUID" verbose="true" buildDefinitionId="Test Release Build Child"/> </target> and I'm waiting on it with this: <target name="wait_for_build"> <waitForTeamBuild repositoryAddress="https://192.168.115.102:9443/jazz/" userId="<my_user_id>" password="<my_pass>" verbose="true" requestUUID="dummy"/> </target> I'm expecting the property "childBuildRequestUUID" to be set to the UUID of the build request in the parent, but it's not. I have created the property and set it to dummy in the parent's build definition but as we can see, it's not being set by the request call. The child build is started successfully and its requestUUID set appropriately within its context. From the log: [waitForTeamBuild] Ant task attribute "requestUUID" contains illegal value "dummy". What am I doing wrong? Thanks, Dave |