BuildResultUUID while using Buildforge Build Engine
Hi,
I have a RTC buildDefnition which is Jazz build Engine based.
This build definition is calling another build Definition which is BuildForge Build Engine based.
So
BDef 1 -> JBE
BDef 2 -> BForge
BDEF1 ant script is calling BDEF2 as its execution item using <requestTeamBuild> macro. so I'm able to get the buildrequestUUID of BDEF2.
Now my question is ,
1. how can I get the buildresultUUID of BDEF2 , since it is BForge Engine based, is it really possible ?
2. from BDEF2 , I want to create a tag in BDEF1 build result, to allow it to be searched. How can I do it ?
Any quick responses would be appreciated.
I have a RTC buildDefnition which is Jazz build Engine based.
This build definition is calling another build Definition which is BuildForge Build Engine based.
So
BDef 1 -> JBE
BDef 2 -> BForge
BDEF1 ant script is calling BDEF2 as its execution item using <requestTeamBuild> macro. so I'm able to get the buildrequestUUID of BDEF2.
Now my question is ,
1. how can I get the buildresultUUID of BDEF2 , since it is BForge Engine based, is it really possible ?
2. from BDEF2 , I want to create a tag in BDEF1 build result, to allow it to be searched. How can I do it ?
Any quick responses would be appreciated.
2 answers
Hi,
I have a RTC buildDefnition which is Jazz build Engine based.
This build definition is calling another build Definition which is BuildForge Build Engine based.
So
BDef 1 -> JBE
BDef 2 -> BForge
BDEF1 ant script is calling BDEF2 as its execution item using <requestTeamBuild> macro. so I'm able to get the buildrequestUUID of BDEF2.
Now my question is ,
1. how can I get the buildresultUUID of BDEF2 , since it is BForge Engine based, is it really possible ?
2. from BDEF2 , I want to create a tag in BDEF1 build result, to allow it to be searched. How can I do it ?
Any quick responses would be appreciated.
Hi,
1. I was wondering if your scenario would allow you to switch from using requestTeamBuild to the startTeamBuild Ant task. The startTeamBuild task allows you to set an attribute named 'resultUUIDProperty' with a value that will hold the buildResultUUID. You can then use that buildResultUUID for the issue in your second question.
Example startTeamBuild:
<startTeamBuild repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
buildDefinitionId="${myBuildDefinitionId}"
engineId="${myEngineId}"
resultUUIDProperty="buildResultUUID"
label="test build"
autoComplete="false"
verbose="true" />
2. With the buildResultUUID from the startTeamBuild task, you could update the label with the buildResultPublisher task.
Example buildResultPublisher:
<buildResultPublisher label="${newBuildLabel}"
buildResultUUID="${buildResultUUID}"
repositoryAddress="${repositoryAddress}"
userId="${userId}"
passwordFile="${passwordFile}"
verbose="true"/>
Brent Ulbricht
Developer/Lead - RTC Build
Thanks Brent !
but the "buildResultUUID" property won't overwrite the earlier property set for same Ant file.
i.e. Ant build.xml ( for BReq1)
.....
...
..
BuildResultPublisher Publish result of Req1
...
..
requestTeamBuild Bdef2 /// Call the buildForge project
</target>
// ##### end of xml ####
So does startTeamBuild would still give me right result as below ?
Also,
Is there any way to search the builds ( based on labels) other than using Tags ? in other words , is it necessary to have tags to search builds ?
Hi,
1. I was wondering if your scenario would allow you to switch from using requestTeamBuild to the startTeamBuild Ant task. The startTeamBuild task allows you to set an attribute named 'resultUUIDProperty' with a value that will hold the buildResultUUID. You can then use that buildResultUUID for the issue in your second question.
Example startTeamBuild:
2. With the buildResultUUID from the startTeamBuild task, you could update the label with the buildResultPublisher task.
Example buildResultPublisher:
Brent Ulbricht
Developer/Lead - RTC Build
but the "buildResultUUID" property won't overwrite the earlier property set for same Ant file.
i.e. Ant build.xml ( for BReq1)
.....
...
..
BuildResultPublisher Publish result of Req1
...
..
requestTeamBuild Bdef2 /// Call the buildForge project
</target>
// ##### end of xml ####
So does startTeamBuild would still give me right result as below ?
Also,
Is there any way to search the builds ( based on labels) other than using Tags ? in other words , is it necessary to have tags to search builds ?
Hi,
I have a RTC buildDefnition which is Jazz build Engine based.
This build definition is calling another build Definition which is BuildForge Build Engine based.
So
BDef 1 -> JBE
BDef 2 -> BForge
BDEF1 ant script is calling BDEF2 as its execution item using <requestTeamBuild> macro. so I'm able to get the buildrequestUUID of BDEF2.
Now my question is ,
1. how can I get the buildresultUUID of BDEF2 , since it is BForge Engine based, is it really possible ?
2. from BDEF2 , I want to create a tag in BDEF1 build result, to allow it to be searched. How can I do it ?
Any quick responses would be appreciated.
Hi,
1. I was wondering if your scenario would allow you to switch from using requestTeamBuild to the startTeamBuild Ant task. The startTeamBuild task allows you to set an attribute named 'resultUUIDProperty' with a value that will hold the buildResultUUID. You can then use that buildResultUUID for the issue in your second question.
Example startTeamBuild:
<startTeamBuild>
2. With the buildResultUUID from the startTeamBuild task, you could update the label with the buildResultPublisher task.
Example buildResultPublisher:
<buildResultPublisher>
Brent Ulbricht
Developer/Lead - RTC Build