すべてのバージョン
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
If you run multiple Maven 2.x builders on one server machine which:
then by default, these agents will use the same default Maven 2.x artifacts directory: $HOME/.m2/repository (or %USERPROFILE%\.m2\repository for Windows-based servers). This is the directory to which Maven dependency jars are downloaded and where project artifacts are installed during the "install" phase of a Maven 2.x build.
Problems can arise if Bamboo uses these multiple Maven 2.x builders simultaneously. For example, if multiple agents on a single computer, each with a different Maven 2.x builder capability, start to run Maven 2.x builds simultaneously from the queue, the different Maven 2.x builders may attempt to download the same dependency to the same artifacts directory location, resulting in corruption of the downloaded jar and dependency files.
Hence, Bamboo allows you to isolate Maven 2.x builders on an agent-specific basis. If you configure repository isolation for a particular Maven 2.x builder capability, each agent that uses this builder will have its own private Maven 2.x artifacts directory, thereby allowing you to avoid these jar and dependency file corruptions.
Each isolated repository directory has the path:
$BAMBOO_HOME/.m2/AGENT-${agendid}/repository
Be aware that this feature is not available for Maven 1.x builders.
To configure a new local server Builder capability,
When configuring any Maven 2.x builders in Bamboo in which you want to force local repository isolation, ensure that the builder label you use is one that identifies it as such — for example, 'Maven 2.x with local repository isolation'.
Screenshot: Maven 2.x Builder
Screenshot: Maven 2.x Repository Isolation