Locked out of Jenkins

I enabled jenkins security thinking it would prompt me to create an account. I tried deleting and editing my config.xml file in c:/program files/jenkins but i'm not sure how to restart jenkins without having access.

Any help would be appreciated.

I'm running Jenkins on a windows server, recently updated to the latest version.

Answers


If you don't have a lot of other configuration that you'd like to save, you can just delete %JENKINS_HOME%/config.xml and restart Jenkins to disable security. Otherwise, edit config.xml and set the values inside the <useSecurity> tags to false, then restart Jenkins.


Need Your Help

WebView jump to anchor using loadDataWithBaseUrl

android webview scroll anchor

My Android app uses a WebView to display a bunch of HTML code that I generate 'on the fly'. The HTML code is loaded using the following code:

jquery: div not open up to id-9

javascript jquery html css

i sending you detailed about my work, when i click on the link 1,2,3,4,5,6,7,8,9 then all worked is OK, and then i click on 10 then detailed DIV is hide, and when i add one more link means when i p...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.