User Interface plugin modules
Build Lifecycle plugin modules
Notification plugin modules
System plugin modules

Web Repository Viewer module

Available:

Bamboo 2.5 and later

Description

A plugin module which defines a web repository viewer in Bamboo. This module is responsible for rendering commit information in Bamboo. For example, the Fisheye Web Repository Viewer will render the commit, providing links to the web repository.

Interface

Web Repository Viewer modules must implement the com.atlassian.bamboo.webrepository.WebRepositoryViewer interface. An abstract class is available that implements a lot of the default functionality for you, so you can extend com.atlassian.bamboo.webrepository.AbstractWebRepositoryViewer.

If you would like to render links to commits in emails, you will need to also implement the com.atlassian.bamboo.webrepository.CommitUrlProvider interface.

Sample Module Descriptor Element

1
2
<webRepositoryViewer key="fisheyeRepositoryViewer" name="FishEye"
                       class="com.atlassian.bamboo.webrepository.fisheye.FisheyeWebRepositoryViewer">
  <description>Renders Fisheye Links for commits.</description>
  <resource type="freemarker" name="edit" location="editFisheyeRepositoryViewer.ftl"/>
  <resource type="freemarker" name="view" location="viewFisheyeRepositoryViewer.ftl"/>
</webRepositoryViewer>

Rate this page: