Steps to Install Jenkins on Windows
1. Download Jenkins MSI installer
MSI stands for Microsoft Windows Installer which is used to install the softwares on windows systems. Mostly used to install large and complex packages. You can download latest version of MSI on jenkins website.
2. Install Java Development KIT(JDK)
Download the JDK 8 installer for Windows, choosing the 32-bit or 64-bit version depending on your system configuration. Agree to the license agreement.
3. Set the Path for the Environmental Variable for JDK
Open Jenkins web interface go to jenkins left-hand sidebar and select the configure system select the environmental variables.Select the new variable section and set as following.
- Variable: JAVA_HOME
- Value: The path to the JDK installation directory. For example, on Windows, the default installation directory for JDK is C:\Program Files\Java\jdk1.8.0_311.
Click Add
4. Run Jenkins on Localhost 8080
Once the jenkins is get installed you need to access it from the browser by using the “localhost:8080”. Install all the recommended plugins when prompted by the dashboard.
5. Jenkins Server Interface
After acessing it from the internet by using local host know you can create your own project by clicking on the new item or new project where you can select the different kind types of projects you want like Freestyle project, Pipeline,Multi-configuration project and son on.
6. Build and Run a Job on Jenkins
After writing the pipeline is done click on save it will be directly redirected to the Dashboard of the project there we can use, the “Build Now” option to run the pipeline and check if it is successful or not, by using stage view or console output.
Installing Jenkins on Windows
Jenkins is primarily used for continuous integration and continuous delivery on a platform. It is a Java application that has multiple plugins for automating all components at an infrastructure level. These plugins are responsible for all the different functionalities of Jenkins.