jenkins_blog poster

A watch out to the software professionals, you may not know about which am turned to discuss. Oh! Yes, I wish to quote that this option does not come in the default configuration, as Jenkins does not insist on any default security check. So, it directly means that the person working on it for the installation need to work on the global security option in Jenkins.
Okay, just as you proceed also check over this, may be you would wish to learn here how to integrate selenium with Jenkins!
Once after the completion of the installation you are advised to integrate the global security option, which works on 2 axes: the security realm using the log in credentials and the authorization strategy which gives you the option to access the permission settings. Cater to the below procedures to work on setting the global security for your projects in Jenkins and understanding the Global Security Option in Jenkins.
Step 1:
Configure Jenkins:
  • Open Command Prompt & follow the following steps to configure Jenkins
  • Go to the particular directory where Jenkins.war is installed & enter the following command java –jar Jenkins.war

Jenkins1

  • You will get Jenkins is fully up and running in Command Prompt if Jenkins configured correctly.

Jenkins2

  • Open browser go to the given URL – http://localhost:8080/
  • Normally Jenkins uses 8080 port to run.
  • Jenkins Dashboard will be displayed.
Step  2:
Configure Global Security Option:
  • Click on Manage Jenkins Button present in Jenkins dashboard & open Manage Jenkins Page.
  • Select Configure Global Security option present in Manage Jenkins Page.

Jenkins3

  • Select Enable Security Checkbox Present in Configure Global Security Page.
  • Click on Jenkins own user database Radio button from Security Realm section & then click on Matrix based security radio button present in Authorization section.

security_jenkins

 

Set Username/Group name:
  • Enter User/Group Name and click on Add Button.
  • For example I have entered Test User in Matrix based security section.
  • Select Permissions to the newly added user & then click on SAVE Button.

Jenkins5

Just get started:
  • Jenkins Login Page should be displayed.
  • Click on Create an Account Link to create new user.

Jenkins6

  • Enter Username as Test in Signup form & enter all valid details and then click on Signup Button.
  • Test User is successfully Logged in to Jenkins account.

Jenkins7

  • Click on Logout Link present at top of the Jenkins dashboard.
  • Jenkins Login Page should be displayed.
  • Whenever you are trying to open Jenkins (http://localhost:8080/) it will ask you for username & password to login.

Jenkins8

Success over it or get this:
  • If both Username & Password matches means Jenkins will display dashboard. Otherwise it throws an error message.

Jenkins9Global Security Option in Jenkins is Configured Successfully!

You can now protect your Jenkins data using Global Security option. Stay with peace of mind and make your projects highly secured.
Doubtless, wish to get your comments and let’s discuss more in the comments session. Drop me few words which I would be glad to reply.