chain personal builds
![]()
Hello,
I'm trying to chain personal builds automatically using Ant requestTeamBuild task.
i need to set personalBuild property and set the workspaceUUID.
How can i get those properties from the first build and set them into the second build?
Thanks,
Michal
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jul 16 '14, 3:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The build properties should be available in ANT as environment variables, as far as I know.
This is a snippet from the ANT build script of the sample application that ships with RTC. buildResultUUID="${buildResultUUID}" repositoryAddress="${repositoryAddress}" Ant provides an option to save the properties in a file. Here an example that I saved. team.scm.includeComponents=false Michal Steinberger selected this answer as the correct answer
Comments Hey Ralph,
Thank you for the answer, it helps.
Do you Know to tell me who can i pass the team.scm.workspaceUUID from one build definition to another?
i tried to use overridePropertiesFile but it change the buildDefinitionID to.
thenks
Michal Sorry Michael, I don't know. The RequestTeamBuild ANT task does not allow to pass the workspace. I would have gone with the overridePropertiesFile too. If that does not work. I don't know. There have been similar questions here:
On another thought, if you would not use the JazzSCM tab in the build definition at all, you could have the load as part of the build and have a better control on what to load.
|
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.