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

后端 未结 6 589
时光取名叫无心
时光取名叫无心 2020-12-01 18:43

I have a Jenkins cluster that is shared by several teams, that I can configure build jobs on, However i can\'t easily make changes to the Jenkins configuration itself.

6条回答
  •  庸人自扰
    2020-12-01 18:59

    I would recommend using the configuration file plugin, provides a UI to edit one or more Maven settings files.

    These settings files can be passed into your Maven build using the "-s" option.

提交回复
热议问题