Where Jenkins stores SVN credentials

Started playing with Jenkins. Created a new job and entered the URL of the SVN repository. Pressed assembly and jenkins successfully checked my repository. My repository does not have anonymous access. There is no clue how Jenkins managed to unload the repository.

Works on Windows XP + Tomcat6 + Jenkins war file.

Did Jenkins manage to read the password from the system properties? Right now, trying to find this configuration file, where it stores passwords or settings

UPDATE

Not sure, but it seems Jenkins was reading SVN credentials from the svn turtle cache. When I clear the cache, I can no longer access the repository from Jenkins

+5
source share
5 answers

, Subversion. , , ,

Subversion $HOME/.subversion , subversion.credentials.

Jenkins , Jenkins $HOME, . , , Jenkins.

, Subversion Jenkins . , - Jenkins Subversion, .

Jenkins Subversion, pre-commit hook, Jenkins , .

. , subversion , .

+10

credentials.xml, ~/.jenkins/

+4

, Subversion. , , ,

+1

.

, http-, https. http, svn, URL. enter image description here

0

Jenkins stores the svn credentials in a .jenkins / hudson.scm.SubversionSCM.xml file, removes old usernames and passwords, and keeps entries blank and saves the file. Restart jenkins later and go to job setup and the repository URL, Jenkins will prompt you to enter new svn credentials. -Praveen

0
source

All Articles