How to manage maven settings.xml on a shared jenkins server? -


i have jenkins cluster shared several teams, can configure build jobs on, can't make changes jenkins configuration itself.

there central "nexus pro" maven repository manager each team / group in large multinational has own repo, publishing repos requires username / password combination.

this means have configure jenkins server maven settings.xml unique team working without messing maven configuration of other users of jenkins cluster.

git source control repository.

  1. on shared jenkins cluster how configure maven settings.xml unique a group of build jobs or single job? best practices handling type of situation?

i recommend using configuration file plugin, provides ui edit 1 or more maven settings files.

these settings files can passed maven build using "-s" option.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -