Install Jenkins – Continuous Integration Tool
Before we talk about install jenkins, let us understand about what is jenkins first
What is Jenkins?
Jenkins is a Continuous Integration server. (Kind of advanced task scheduler). Basically Continuous Integration is the practice of running your tests on a non-developer machine automatically every-time someone pushes new code into the source repository.
Jenkins can be standalone (Using Jenkins.war file) or hosted (Install as a windows service).
-
Install Jenkins – standalone client installation using Jenkins.war –
Jenkins Installation:
Prerequisite – 1. Java JDK installed. 2. Tomcat server is configure.
Step01:
Download the jenkins.war file from Jenkins Homepage. URL: https://jenkins.io/download/
Open Command Prompt.
Change directory to path where Jenkins.war is present.
Step02:
From this file you can start Jenkins directly via the command line with below code –
java -jar jenkins*.war.
Refer below screen shot.
When you do this process first time, it will take some time, some processes will be running in cmd.
Once you see below message, then Jenkins installation is complete
Access the installed Jenkins via URL – http://localhost:8080/