This week, we're highlighting a tip from Jim Bethancourt of Triple Point Technologies about configuring Maven in your Bamboo remote agents. If you use multiple agents on the same machine, this neat trick will ensure the agents have a consistent configuration each time out.
Do you have multiple agents on a single machine and use a custom settings.xml in your Maven builds? Make things easier on yourself!
- Jim Bethancourt
Pre-populate your settings.xml files
When Maven starts, it looks for a generic set of settings in either
$HOME/.m2 (Linux). To make sure multiple agents and
build plans start with the same Maven settings, make sure you have configured
this file appropriately for your test environment. More info about the shape and
features of this file can be found here: Maven
Let us know what you think in the comments!
Watch out for news and info from our @AtlassianDev Twitter feed!
Follow me at @bitbucketeer!