A2oz

How to Restart Jenkins on Windows?

Published in Software 2 mins read

Restarting Jenkins on Windows is a straightforward process that can be accomplished in a few simple steps.

Method 1: Using the Jenkins Service

  1. Open the Services window: Press Windows Key + R, type services.msc, and press Enter.
  2. Locate the Jenkins service: Scroll down the list of services and find the one named Jenkins.
  3. Right-click on the Jenkins service and select Restart.

Method 2: Using the Jenkins Command Prompt

  1. Open the Command Prompt: Press Windows Key + R, type cmd, and press Enter.
  2. Navigate to the Jenkins installation directory: Use the cd command to navigate to the directory where Jenkins is installed, typically C:\Program Files\Jenkins.
  3. Execute the restart command: Type jenkins.exe restart and press Enter.

Method 3: Using the Jenkins Web Interface (For Advanced Users)

  1. Log in to the Jenkins web interface: Access the Jenkins dashboard through your web browser.
  2. Navigate to the "Manage Jenkins" section: Click on the Manage Jenkins link in the left sidebar.
  3. Select "Restart" from the "System Information" section: Choose Restart from the options available under the System Information heading.

Note: Before restarting Jenkins, it's recommended to save any ongoing builds or jobs to avoid losing progress.

Related Articles