Suggestion: maven configuration per agent, not per project
Hi,
I would like to suggest this feature for a future version of TeamCity. Rather than having to configure maven on a per-project basis, it would be better to be able to configure it on a per-agent basis. This would allow environments where Linux and Windows agents run through each other to use exactly the same configuration. At the moment I have to create two configurations which specify where maven is located on the machine: one for windows, one for linux agents.
BR,
Bn
Please sign in to leave a comment.
Hello Ben,
You don't need to specify Maven's location in the build configurations.
Just set environment variable M2_HOME on both your agent machines and use
a single build configuration without setting Maven's path.
--
Sergey Anchipolevsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"