This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

If you want to run multiple Maven agents on your local server, Bamboo allows you to isolate your Maven builds (Maven 2 only). This means that each agent will have its own private directory in your local artifacts repository (i.e. the directory where dependency jars are downloaded to and where project artifacts are installed during the "install" phase of Maven build), instead of all agents using the default artifacts directory: $HOME/.m2/repository.

To configure a new local server Builder capability,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Server Capabilities' link in the left navigation column.
  3. The 'Server Capabilities' screen will be displayed, showing a list of all local server capabilities currently defined in your Bamboo system.
  4. Locate the 'Add Capability' section below the list (see screenshot below).
  5. Enter the details for your builder as follows:
    • 'Capability Type' — 'Builder'
    • 'Type' — 'Maven 2.0'
    • 'Label' — 'Maven 2.0 with repository isolation'
    • 'Path' — enter the path for your Maven 2 builder
  6. 追加」ボタンをクリックします。
  7. Click the label for the builder you have just added. The builder capability summary screen will display (see 'Maven 2 Builder' screenshot below).
  8. Click the 'Edit Capability Configuration' link. The 'Configure Capability' screen will display (see 'Maven 2 Repository Isolation' screenshot below).
  9. Select the 'Local repository isolation' checkbox.
  10. 保存」ボタンをクリックします。
  11. Configure any builds that you want to use Maven Repository Isolation by changing the builder label for the build to 'Maven 2.0 with repository isolation'.

Screenshot: Maven 2 builder

Screenshot: Maven 2 Repository Isolation

  • ラベルなし