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

User Davidmatas
by
7.1k 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
8.3k points

Related questions

asked Mar 19, 2024 6.9k views
Ponmudi VN asked Mar 19, 2024
by Ponmudi VN
8.1k points
1 answer
5 votes
6.9k views
asked Nov 2, 2024 197k views
Jamie Marshall asked Nov 2, 2024
by Jamie Marshall
7.7k points
1 answer
3 votes
197k views
asked Mar 13, 2024 231k views
Queen asked Mar 13, 2024
by Queen
7.7k points
1 answer
2 votes
231k views