223k views
2 votes
How to check jenkins version in windows cmd

User Davidmatas
by
6.6k points

1 Answer

7 votes

Final answer:

To check the Jenkins version on Windows, open CMD, type 'java -jar jenkins.war --version', and press Enter. Replace 'jenkins.war' with the path to your WAR file if necessary. Alternatively, you can check the 'jenkins.xml' file in the Jenkins home directory for version information.

Step-by-step explanation:

To check the Jenkins version in Windows CMD, you can follow these steps:

  1. Open the Windows Command Prompt (CMD).
  2. Type the following command and press Enter:
    java -jar jenkins.war --version
  1. Make sure you replace 'jenkins.war' with the actual path to your Jenkins WAR file if it's not in your current directory.
  2. The command will output the Jenkins version installed on your system.

If Jenkins is running as a Windows service, you could also check the version by looking at the 'jenkins.xml' file in the Jenkins home directory, which typically includes version information.

The complete question is:how to check jenkins version in windows cmd

User Lulhum
by
7.6k points