Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is JENKINS_HOME when Jenkins is installed via Homebrew?

I installed Jenkins via Homebrew and accidentally locked myself out (i.e. set up security before creating an admin-level user). Instructions on the Jenkins wiki instruct me to remove some lines from config.xml that is located in the path JENKINS_HOME.

Where is JENKINS_HOME when jenkins is installed via Homebrew? Or alternatively, how can one nuke an entire installation of jenkins installed via Homebrew? brew uninstalling and installing did not do the trick.

like image 786
Mark Avatar asked May 15 '16 01:05

Mark


People also ask

How do I know if Jenkins is running on my Mac?

Browse to http://localhost:8080 (or whichever port you configured for Jenkins when installing it) and wait until the Unlock Jenkins page appears.

Where is Jenkins home on Mac?

Go to http://jenkins_master:port/configure and the first line is your Home directory. Log into the machine and go to that location, there you can find the config. xml and change Security to disabled. By default, JENKINS_HOME is at ~/.

What is the use of Jenkins home directory?

The Jenkins home directory contains all the details of your Jenkins server configuration, details that you configure in the Manage Jenkins screen. These configuration details are stored in the form of a set of XML files. Many of the core configurations are stored in the config.

Where is Jenkins_home Linux?

You can find the location of current Jenkins home directory by logging into the Jenkins page. Once logged in, goto 'Manage Jenkins' & select the options 'Configure System'. Here first thing you will see will be the path to your Jenkins Home Directory. Now we will create a new folder for the keeping the jenkins.


1 Answers

Go to http://jenkins_master:port/configure and the first line is your Home directory. Log into the machine and go to that location, there you can find the config.xml and change Security to disabled.

By default, JENKINS_HOME is at ~/.jenkins.

Good luck!

like image 104
Dvir669 Avatar answered Sep 21 '22 16:09

Dvir669