In 3.1 we have introduced Tasks. Each Job can now have multiple Tasks which run in order on a single Agent. If a Task fails the following tasks will not execute, with the exception of Final Tasks which will always execute. Tasks are pluginable and have replaced Bamboo's Builders. We have included a Compatability Task which will run old Builder configurations however, we encourage you to update Builders as soon as possible.
We've made writing new Task plugins incredibly easy. You can find all the information on creating Tasks on our Tasks Overview page. Also on that page you can find information regarding the new way we handle Requirements and Capabilities.
Another feature in 3.1 is Paramaterised Builds, providing the ability to override variables at the run time of a build. With this we have moved Global Variable storage into the database and introduced the concept of Plan Variables.
As mentioned above we have introduced Tasks. This is a new plugin point allowing you to easily create multiple execution steps in your Build. We've made writing new Task plugins incredibly easy. You can find all the information on creating Tasks on our Tasks Overview page.
We now have ResultLabelAdded, ResultLabelRemoved, FavouriteAdded and FavouriteRemoved Events. You can listen for these events using an Event Listener Module.
Repository (or actually any other module) can implement CacheHandler to have its caches managed via Administration->Manage Caches page
We've added infrastructure for analysing build logs on the fly. For documentation, see LogInterceptor. You can add these interceptors to the LogInterceptorStack in the BuildLogger. For examples of usage, see com.atlassian.bamboo.build.logger.interceptors.StringMatchingInterceptor and com.atlassian.bamboo.plugins.ant.task.AntBuildTask .
Want to use people's avatars in your plugin? Just inject the GravatarService into your server side plugin, or use the FreeMarker macro:
1 2[@ui.displayUserGravatar username="msmith" size="26"/]
Rate this page: