jenkins installation on windows step by step

jenkins installation on windows

jenkins installation on windows is quite easy and good way to automate windows tasks, you can install Jenkins on Linux and install Jenkins slave on ubuntu and windows. By Jenkins deployment automation we can automate so many Windows tasks and run batch and PowerShell script remotely. Folder and File Backups can be automated using Jenkins.

What can Jenkins do?

  1. Run an internal commands and script
  2. Perform the code compilation & build the software with Maven or Gradle.
  3. Monitoring the execution of the above tasks.
  4. Schedule the Job or task to execute.
  5. Run build as per action item define.
  6. Run JOB in one or multiple remote servers in the parallel or serial way
  7. Provision to stop the build in case of failure in any of the steps.
  8. Notifying the user of the success or failure of each build.

How to setup Jenkins installation on windows

Step 1. Login to Windows server or your EC2 Windows server and download the latest Jenkins MSI. Step2. Download the latest JAVA version and check the version details by running this command on CMD prompt
java -version
PS C:\Users\Administrator\ java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode) 

 

Step 3 Open the zip file which we have download in Step 1 and Follow below screenshot to install the Jenkins step by step.

 

Jenkins-windows-installation

Jenkins-windows-installation

Jenkins-windows-installation

Jenkins-windows-installation

 

 

 

 

Once we Installation finishes one webpage open with http://localhost:8080/ and ask for password copy and paste the password from this given file.

Jenkins-windows-installation

Install the necessary Plugins

Jenkins-windows-installation

 

 

Jenkins-windows-installation

Create Admin account with username and password.

Jenkins-windows-installation

Jenkins-windows-installation

Once everything configured it will show the Welcome screen as below.

Jenkins-windows-installation

To create new test job click on create a new job as below.

Jenkins-windows-installation

Give JOB disruption and under add build step select Execute Windows batch command and type the windows command, for example, i run a command to check the windows update service status.

Jenkins-windows-installation

 

 

Click on Build now and check the Build History.

Jenkins-windows-installation

Click on Console Output and get the command output. Which say Windows Update service status is Stop.

Jenkins-windows-installation-14

Successfully build JOB

Jenkins installation on windows is very necessary to perform day to day task automation.

jenkins installation on windows

jenkins installation on windows is a quite easy and good way to automate windows tasks, you can install Jenkins on Linux and install Jenkins slave on ubuntu and windows.

Editor's Rating:

4

You May Also Like

4 thoughts on “jenkins installation on windows step by step

  1. Heya i am for the first time here. I came across this board and I find It truly helpful & it helped me out much. I am hoping to present something back and help others such as you aided me.

  2. I am not sure where you are getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for excellent information I was looking for this info for my mission.

  3. Like to detail more concerning this topic? I suspect you might be holding back some of the jucier musings, but I for one, love reading them 😀

  4. Nice post. I learn one thing more challenging on completely different blogs everyday. It would always be stimulating to read content from different writers and practice slightly something from their store. I’d favor to use some with the content material on my weblog whether or not you don’t mind. Natually I’ll give you a hyperlink on your net blog. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *