A task may define some custom build variable that would need to later be retrieved in subsequent tasks.
The current mechanism to handle this is to share artifacts between the tasks - the problem with this approach is that the "native" bamboo tasks, such as the ant task could not access this "custom build variables"; we would need to write a wrapper script that parses the artifact then invoked the ant command.
I created custom build variables using the variableDefinitionManager
*Pass variables between tasks
- Pass variables between a jobs (expected not to work since jobs can be concurrent)
- Pass variables between a stages