Tuesday 29 August 2017

5 Small But Important Things To Do When Setting Proxy In Jenkins

ad300
Advertisement
"Plugins are not getting installed in Jenkins", This issue you might have faced when you have freshly installed the  Jenkins in your office or for your project. You might have Observed that there are no Plugins listed under "Available Tab" when you navigated to "Manage Jenkins ⥤Manage Plugins ⥤ Available". The reason for this could be Jenkins which is not able to access the internet directly and may need to setup proxy to access the same. We have to setup HTTP Proxy Configuration if you need to get it going.

Jenkins Behind Proxy


So lets us start and resolve your issue.


  1. You need to login to your Jenkins account
  2.  Once Logged, click Manage Jenkins on the left of the Jenkins
  3.  Click Manage Plugins
  4. Now click Advanced Tab
  5. Fill the details as mentioned below:
  6. Validate your proxy by clicking the validate proxy button. Make sure it shows Success of validating the proxy.
  7. Click Submit to confirm your entries.


5 Things to Remember
  • Do not add http:// or https:// to your proxy server details in the text box
  • Set Port Number to 80
  • Leave Username and Password empty
  • Validate your proxy settings
  • Restart your Jenkins, This you can do from your browser itself http://localhost:8080/restart

Once restart is done, Navigate to the page "Manage Jenkins ⥤Manage Plugins ⥤ Available" again, see if the page is loading the plugins, You won't be able to see anything on the screen till all the plugins will be loaded, but only thing you can see will be the browser tab in loading mode.

If still, nothing is happening, go to HTTP Proxy Configuration page where you did the proxy settings, Click "Check Now" button present at the bottom right corner of the page. Come back to the "Manage Jenkins ⥤Manage Plugins ⥤ Available". Now I hope you get your plugin list.

Write down to me if you still face some issues, I will get back to you as soon as possible.
Share This
Previous Post
Next Post

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: