Due to Bamboo 2.0's support for distributed builds, the plug-in point for performing post-build processing has been split into two:
CustomBuildProcessor
: These plug-in modules are executed on the agent. They have access to the build filesystem, but not to any Bamboo managers.
CustomBuildProcessorServer
: These plug-in modules are executed on the Bamboo server, once the build result has been transmitted from the agent. They have access to Bamboo managers, but they are not guaranteed to have access to the build filesystem.
If you have a plug-in that needs to read data from the build filesystem, and make use of Bamboo managers to retrieve and/or store data, you must use the following approach:
On the Bamboo agent:
CustomBuildProcessor
read the data you require from the build filesystem on the agent;Map<String, String>
obtained from calling getCustomData()
of the BuildResult
;Then, on the Bamboo server:
CustomBuildProcessorServer
read your key-value pairs from the BuildResult
on the Bamboo server;Rate this page: