This page last changed on Mar 03, 2008 by alui.

You can extend the standard repository functionality by implementing any of the optional interfaces described below.

On this page:

Error formatting macro: toc: java.lang.NullPointerException


com.atlassian.bamboo.v2.build.repository.RepositoryEventAware

Description

The com.atlassian.bamboo.v2.build.repository.RepositoryEventAware interface allows you to instruct the repository to perform a custom action before and/or after the checkout/update occurs.

Methods

void preRetrieveSourceCode(@NotNull BuildContext buildContext); This will run before the retrieveSourceCode method is called. It allows you to do custom actions to prepare for the checkout, such as some customised cleanup of the source directory.
void postRetrieveSourceCode(@NotNull BuildContext buildContext); This will run after the retrieveSourceCode method is called. The extension point allows you to easily set custom data, do any post checkout collection of data.
Document generated by Confluence on Apr 14, 2008 01:39