How to check jenkins is installed in centos or not?

User picture User · Feb 20, 2017 · Viewed 32.5k times · Source

how to check Jenkins is installed in centOS7 or not?

Is there any command for that?.

Thanks!!

Answer

Goralight picture Goralight · Feb 20, 2017

Go to your /var/lib/jenkins/ there will be a file called config.xml

View that file cat config.xml and there should be a xml entry called:

<version>YourVersionNumber</version>

Or on the Jenkins home screen when it is running click the About button and you will see the version number there.

The generic start up for Jenkins is:

java -jar jenkins.war

Which can be found here