Bamboo 2.2 : Changes for Bamboo 2.2
This page last changed on Mar 09, 2009 by bmccoy.
Bamboo 2.2 includes a significant rework of Bamboo's notifications, brand new Elastic Bamboo as well as new plugin points and additional Remote API. Whilst we have tried very hard to ensure backwards compatibility this release, there may be unforeseen changes. If there is anything we have missed please let us know so we can keep this information up-to-date. NotificationsWe have deprecated the old NotificationCondition plugin point, though old notification plugins will still work. The replacement plugin points allow for much greater flexibility. You can find more information on building a new notification plugin here: Building a Notification Plugin. We have also added the ability to customise your notifications by editing the Freemarker Templates. Elastic BambooWhilst adding in Elastic Bamboo functionality we have altered the way we deal with Agents and Capability sets. In particular the BuildAgent interface has lost the getCapabilitySet() method. Instead you retrieve CapabilitySets via the following: CapabilitySet capabilitySet = CapabilitySetProvider.getAgentCapabilitySet(buildAgent); or CapabilitySet capabilitySet = CapabilitySetProvider.getAgentCapabilitySet(pipelineDefinition); Variable Substitution BeanTo allow greater access to the VariableSubstitutionBean (e.g on remote/elastic agents) we have altered the interfaces in this class. See the javadocs for full details of the new API. As a quick summary the following methods are no longer available public String[] substituteBambooVariables(String[] commandLine, String buildPlanKey, BuildLogger buildLogger, Map<String,String> customBuildData) public String substituteBambooVariables(String unparsedString, String buildPlanKey, BuildLogger buildLogger, Map<String,String> customBuildData) They have been replaced with the following options public String substituteBambooVariables(@Nullable final String commandLine) public String substituteBambooVariables(@Nullable final String commandline, @Nullable final BuildContext buildContext, final BuildLogger buildLogger) public String[] substituteBambooVariables(final String[] commandLine, @Nullable final BuildContext buildContext, final BuildLogger buildLogger) public String substituteBambooVariables(@Nullable final String commandLine, @Nullable final BuildResults buildResults, final BuildLogger buildLogger) New Plugin PointsREST APIThere have been a number of additions to our Remote API. The main ones include addition of methods to interact and manager your elastic instances. Remote API documentation is now being maintained here, rather than in the application. |
![]() |
Document generated by Confluence on Mar 09, 2009 17:07 |