eBook_.NET_4_L3_Automation_Testing_with_Jenkins
eBook_.NET_4_L3_Automation_Testing_with_Jenkins
Course(s):
Joe has successfully completed the previous tasks and now he has
been asked to implement his knowledge about Jenkins.
Duration: 90 min.
Problem Statement:
Demonstrate the Jenkins set up.
Assisted Practice: Guidelines to Set Up Jenkins
Jenkins offers numerous options to enable, edit, and disable various security features.
Ensures all users are authenticated before they can access Jenkins
Access Control
environment
Authorization Ensures all activities by the users are authorized and are aligned with
Control the appropriate set of permissions
External threat Ensures that the users and their activities are protected against
Control external threats
Access Control
Access control is the primary mechanism to secure Jenkins environment against unauthorized usage.
Access
Control
Deploy
Choose Set up other
Jenkins.war file Configure Set up security
users and
and start the Global Security realm
authorizations
server
1 2 3 4 5 6 7 8
Click Manage
Select Enable
Jenkins on Add the first Once done,
Security
Jenkins home user (Admin) click Save
checkbox
page
Authorization Levels
Authorization levels indicate what the users can access in the Jenkins environment.
Anyone can do anything All users, including anonymous users have full control.
Logged in users can do anything All the logged-in users get full access and anonymous
users get read or no access.
Matrix-based security Allows granular control and defines the users with
their specific actions.
Administrator User
Steps to create an administrator user:
In the User/group
On Manage Jenkins Under Authorization,
field, enter the new
page, click Configure select Matrix-based
administrative user
Global Security. security.
credentials.
Duration: 20 min.
Problem Statement:
Demonstrate the creation of a new build project.
Assisted Practice: Guidelines to Create a New Build Project
Duration: 20 min.
Problem Statement:
Demonstrate continuous integration with Jenkins
Assisted Practice: Guidelines for Continuous Integration with Jenkins
Duration: 20 min.
Problem Statement:
Demonstrate the trigger of a build.
Assisted Practice: Guidelines to Trigger a Build
Duration: 20 min.
Problem Statement:
Demonstrate scheduling of automatic builds and Cron jobs.
Assisted Practice: Guidelines to Schedule Automatic Builds and Cron Jobs
Duration: 30 min.
Problem Statement:
Joe's Pizza place is in the middle of creating prototypes for their new
website. Everyday a new build is created and deployed for review.
Automate the whole process of generating a new build and deploying it for
review using Jenkins.