Bhushan
Bhushan

Reputation: 1547

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.

Upvotes: 1

Views: 1337

Answers (1)

Vitalii Elenhaupt
Vitalii Elenhaupt

Reputation: 7326

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

enter image description here

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.

Upvotes: 0

Related Questions