Thursday 24 August 2017

Eliminate Your Fears And Doubts About Jenkins Installation

ad300
Advertisement
Jenkins installation is fairly easy when it comes to its installation on Windows machine. We just need to follow step by step approach.


Getting started with Jenkins

 You may be installing Jenkins for your own testing purpose or may be based on your project needs. So whatever may be the reason you must have Java installed on your system before start installing the Jenkins. 

Be careful when you do the installation, as if the installation happens behind your office network firewalls it may go through fine but your plugins might not get installed, You might get empty "Available" plugins list. So I would suggest doing the installation on your home network. or you may need to do the configure the proxy if you are using VMs or office network. click here if you want to see how to setup the proxy.
JenkinsàpluginManageràadvancedàHTTP Proxy Configuration


Now let's follow the steps below: 
  • Downloading Jenkins
  • Installing Jenkins
  • Configuring a Job on Jenkins
  • Configuring a Node  on Jenkins

Downloading Jenkins 

You can download Jenkins from Jenkins Home Page, The Jenkins project produces two release lines, LTS and weekly. Depending on your organization's needs, one may be preferred over the other. 

For this topic, I will cover installation using windows installer. 



Installing Jenkins
  1. Download the Jenkins as mentioned above.
  2. You will get a zipped file. Unzip it and you will get the installer.
  3. Double click and follow the instructions to finish the installation. 
  4. Once you click the finish button, new setup wizard window will get popped up, like one mentioned below. 
  5. "Unlock Jenkins" has been introduced recently by Jenkins which you might not see in the older versions of it. So, Go to the location mentioned on the screenshot, copy and paste the password
  6. Click continue.
  7. You can proceed as you wish at this step, I am just covering basic installation so I am going ahead with default plugin installation.
  8. Now, Sit back and relax, it will start downloading the default plugins.
  9. NOTE: I want to remind you that your download of plugins may end up in error or no plugins will be installed if you are sitting behind on your office network with proxy or firewall. So if that happens, no problem, don't get frustrated,
    you can configure the proxy settings here. 😉
  10. Once plugins will be installed, navigation will be moved to the admin user creation page.
  11. I would suggest creating an admin user and then go ahead.
  12. Click Save and Finish. 
  13. You will be navigated to another screen and you need to click on the "Start Using Jenkins".
  14. Congratulations!!!!!!!!!, you are ready to use your Jenkins.
  15. Note the URL, http://localhost:8080/, Same can be used when you need to access the Jenkins again. You may need the credentials created at step 11 to log in again.
Share This
Previous Post
First

Welcome to my blog, I am Subhash Junas, I have been working on Core Java, Ruby, Selenium, Cucumber and on various automation technologies from past couple of years. I love to work on new challenges, solving problems and obstacles.

0 comments: