简体   繁体   中英

Store SVN credential globally in Jenkins

In my Jenkins, I have 20 jobs(all have SCM as SVN ).
XYZ user has only read right to all these svn repos. 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 ? Because it will easy for maintainance.

You can store credentials with Credentials Plugin . One of it's consumers is a Subversion Plugin :

在此处输入图片说明

You can manage your credentials at Manage Jenkins -> Manage Credentials.

Be sure, that you have Subversion Plugin with 2.5.1 or higher version, because of issue #29211 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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