- It's an open source tool with great community support.
- Easy to install; and it has a simple configuration through a web-based GUI, which speeds up the Job.
- It has around 900+ plugins to ease your work. If a plugin does not exist, just code it up and share with the community.
- It is built with Java and hence, it is portable on all major platforms.
- Good documentation and enriched support articles/information available on the internet which will help beginners to start easy
The below are some common uses of Jenkins.
- Building snapshot and releasing artifacts for your application.
- Deployment of the released artifact with custom scripts.
- Continuous integration pipeline support for establishing a software development life cycle workflow for your application.
- Support for scheduled builds & automation test execution.
What can Jenkins Do?
- Can associate Jenkins with a version control server.
- Can trigger builds by polling, Periodic etc.
- Can execute bash scripts, Shell scripts, ANT and Maven Targets.
- Can Publish results and send email notifications.
Step 1
Download Java SE Runtime Environment -
Download (Make sure JRE is installed)
Step 2
Install JRE, click on the downloaded EXE from step 2 and follow all the instructions suggested by the installer, with default options for now.
Check if JRE is installed on your machine by command line - $ jave -version as in the below screen.
Step 3
Download Jenkins -
Download.
Step 4
Install Jenkins, click on the downloaded EXE from step 1 and follow all the instructions suggested by the installer, with default options for now. After Jenkins installation, the Jenkins Web UI will be launched in the web browser as below screen.
Step 5
If you open the "initialAdminPassword" file in any text editor from the location (C:\Program Files (x86)\Jenkins\secrets), you will see content like the below screen.
Just copy and paste in "Administrator Password" input box. Once you entered the password and clicked on
"Continue
" button.
Step 6
Now, you will be redirected to the page as shown in the below screen.
Here, you have two options :
- Install suggested plugins.
- Select plugins to install.
Step 7
For now, select "Install suggested plugins" and click on it. You will be redirected to the page as below screen.
Step 8
Now, you can see the recommended tools and plugins are being downloaded. Some of them have been downloaded already while others are being downloaded.
Once all the tools and plugins have been installed, you will be redirected to the page as below screen.
Step 9
From the above window, you can create the first Admin user. Now, fill the above field and click on "Save and Continue" button. You will be redirected to the page as below screen.
Step 9
Click on "Save and Finish" button. You will be redirected to the page as in the below screen.
Step 10
Now, click on "Start using Jenkins" button. You will be redirected to the page as on the below screen.
Step 11
Done.
If you are able to see the above screen it means Jenkins has successfully installed on your window machine.
Congratulations! You have successfully installed and set up Jenkins on a Window machine. If you have any query or concern, just let me know or just put in the comment box and I will respond as soon as possible. I am open to discussing anything even silly questions as well. If you have any suggestions related to this article, please let me know and I promise I will improve this article to a maximum level.