Thursday, June 10, 2021

Jenkins Learning Task 03 - Create Users in Jenkins

Create Users in Jenkins

1. Make sure that job available from the previous task that we created a job called parameterized-job. IF NOT Create a new job called projet httpd-job under admin user.
( No worries about configuration, this task focus on users)

2. Create a jenkins user john with password Abc@Def and full name should be John (its case sensitive).

3. Using Project-based Matrix Authorization Strategy assign overall read permission to john user. Also, make sure john only has read permissions to the newly created job/already existing job (we are not worried about other permissions like Agent, SCM, etc.). 

4. login with the newly created user and see he has read-only access to the job.

Note:

You might need to install some plugins and restart Jenkins service.  If  Project-based Matrix Authorization Strategy not available under authorization then you need to install the below plugin.
Plugin Name: Matrix Authorization Strategy

* This is a learning task and you can try to do it in your own learning environment. I have done a sample solution for this task on Ubuntu OS.

Solution:

check below the sample solution video for the above task.


PLEASE SUPPORT ME BY
LIKE || SUBSCRIBE || COMMENTS  on MY YOUTUBE CHANNEL AND BLOG 

STAY TUNED FOR MORE VIDEOS.......

#Learn    #Practice    #Re-Learn    #Improve    #Motivate
    #Continue-Learning    #Apply    #Get-Help    #Help-Others

Wednesday, June 9, 2021

Jenkins Learning Task 02 - Parameterized build in Jenkins

Parameterized build in Jenkins

1. Create a parameterized job which should be named as parameterized-job.

2. Add a string parameter named Stage; its default value should be Build.

3. Add a choice parameter named env; its choices should be Development, Staging and Production.

4. Configure job to execute a shell command, which should echo both parameter values (you are passing in the job).

5. Build the Jenkins job at least once with choice parameter value Development.


* This is a learning task and you can try to do it in your own learning environment. I have done a sample solution for this task on Ubuntu OS.

Solution:

check below the sample solution video for the above task.



PLEASE SUPPORT ME BY
LIKE || SUBSCRIBE || COMMENTS  on MY YOUTUBE CHANNEL AND BLOG 

STAY TUNED FOR MORE VIDEOS.......

#Learn    #Practice    #Re-Learn    #Improve    #Motivate
    #Continue-Learning    #Apply    #Get-Help    #Help-Others

Docker Learning Task 02 - How to create a basic docker network

 How to create a basic docker network 1. Create a docker network named  mynetwork . 2. Configure it to use bridge drivers. 3. Set it to use ...