Last updated Dec 8, 2017

Bamboo API Changes for 5.8

Overview

This page is intended for Bamboo plugin developers to inform them of changes in Bamboo 5.8 that could affect their plugins. Bamboo users should consult the documentation here instead.

Summary of Changes

Required update of bamboo.data.version

Bamboo 5.8 dropped upgrade compatibility for pre-4.0 versions. This might also affect plugin developers who created integration tests for their plugins.

Consider this POM for a typical Bamboo plugin:

1
2
<properties>
  ...
  <bamboo.version>5.7.2</bamboo.version>
  <bamboo.data.version>3.2.2</bamboo.data.version>
  ...
</properties>
...
<build>
  <plugin>
    <groupId>com.atlassian.maven.plugins</groupId>
    <artifactId>maven-bamboo-plugin</artifactId>
    <version>${amps.version}</version>
    <extensions>true</extensions>
    <configuration>
      <extractDependencies>false</extractDependencies>
      <output>${project.build.directory}/bamboo.log</output>
      <productVersion>${bamboo.version}</productVersion>
      <productDataVersion>${bamboo.data.version}</productDataVersion>
    </configuration>
  </plugin>
</build>

During integration-test phase maven-bamboo-plugin will use com.atlassian.bamboo.plugins:bamboo-plugin-test-resources:3.2.2 to provide a home directory for Bamboo 5.7.2 instance. This will work because Bamboo 5.7.2 supports upgrading from version 3.2.2. In order to bump bamboo.version in the plugin POM one would also require to bump bamboo.data.version as well. Please use Maven search to find most appropriate stable version.

One of the possible options would be using those versions:

1
2
<properties>
  ...
  <bamboo.version>5.8.0</bamboo.version>
  <bamboo.data.version>5.3</bamboo.data.version>
  ...
</properties>

Rate this page: