简体   繁体   English

在Jenkins中全球存储SVN凭证

[英]Store SVN credential globally in Jenkins

In my Jenkins, I have 20 jobs(all have SCM as SVN ). 在我的詹金斯大学,我有20个工作(都以SCM作为SVN )。
XYZ user has only read right to all these svn repos. XYZ用户仅具有所有这些svn仓库的读取权限。 Can I save username and password of XYZ user in Jenkins globally in a such way that I dont need to put his username and password in all 20 jobs ? 我可以将XYZ用户的用户名和密码全局保存在Jenkins中,而无需在所有20个工作中都输入他的用户名和密码吗? Because it will easy for maintainance. 因为这样易于维护。

You can store credentials with Credentials Plugin . 您可以使用凭据插件存储凭据。 One of it's consumers is a Subversion Plugin : 它的使用者之一是Subversion插件

在此处输入图片说明

You can manage your credentials at Manage Jenkins -> Manage Credentials. 您可以在Manage Jenkins-> Manage Credentials中管理凭据。

Be sure, that you have Subversion Plugin with 2.5.1 or higher version, because of issue #29211 . 由于问题#29211 ,请确保您具有2.5.1或更高版本的Subversion插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM