How can I get the buildDefinitionId from within a Build Forge step?
I'd like to be able to get the buildDefinitionId for the build from within a Build Forge step, is there anyway to do that?
|
2 answers
Have you tried echoing the variable within the context of the Step? Example: echo "Build ID value: ${buildDefinitionID}" |
The build definition ID is NOT included by default. You would have to create a custom property for the build definition that has the UUID. Then synchronize the properties and Build Forge should then start getting the definitionID as part of its environment.
Probably the easiest way to figure out the build definitions UUID is to dump them out and find your build definition. Go to your ccm server path and add /resource/virtual/build/definitions?_prettyPrint=true. Then find your build definition and copy the UUID into the custom property.
~Spencer |
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.
Comments
Is this a build that was started from RTC?
Yes, that's correct. Started from RTC, would like to have the RTC buildDefinitionID to be used by a step in Build Forge.