how to check Jenkins is installed in centOS7 or not?
Is there any command for that?.
Thanks!!
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
As you've installed it through yum, this command should do
sudo service jenkins status
This one also (it's the same):
sudo /etc/init.d/jenkins status
If they return a missing file error, e.g. something like
env: /etc/init.d/jenkins: No such file or directory
, it's not installed - at least not through a package manager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With