Dive into Jenkins Roles

Dive into Jenkins Roles

Concept of Roles in Jenkins. A role in Jenkins basically refers to a user that can has access to Jenkins. A user can be an administrator or any non-admin privileged entity.

Concept of Roles in Jenkins

A role in Jenkins basically refers to a user that can has access to Jenkins. A user can be an administrator or any non-admin privileged entity.

A role can be assigned to a user to indicate the set of privileges assigned to that particular user. These privileges can be admin privileges or an admin user can then create many roles and add users to our Jenkins and allot a role specific to a particular user’s tasks.

Jenkins – A small introduction

Jenkins is an open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or even deploying software. Few of the features of Jenkins that make it the first-choice for a user are :

  • Easy installation
  • Variety of plugins
  • Easy configuration
  • Extensible
  • Distributed

To use the concept of roles in Jenkins, we need to install a plugin known as Role-based authorization strategy.

Description of this plugin : Enables user authorization using a Role-Based strategy. Roles can be defined globally or for particular jobs or nodes selected by regular expressions.

Let’s move ahead and start with how to create roles.

Step 1.

Go to the Jenkins Dashboard -> Click on Manage Jenkins -> Click on Manage Users.

jenkins-roles-manage-jenkins

Step 2.

On the left panel, you would see a Create User option. Enter user credentials.

jenkins-roles-manage-&-assign-roles

Now, since you have installed the Role-based authorization plugin, you would see a new option for “Manage and Assign Roles” in the Manage Jenkins section.

scala devops jenkins jenkins ci/cd jenkins plugins

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Travis CI vs Jenkins: Which CI/CD Tool Is Right For You?

The ultimate showdown between Travis CI vs Jenkins. Check out this guide to know who wins the race! Travis CI and Jenkins are both popular CI/CD tools and were launched in the same year i.e. 2011. As of July 2020, Jenkins has been the more obvious choice as CI/CD tool with 15.9k stars & 6.3k forks, in comparison to TravisCI which has 8k stars & 756 forks. However, these numbers alone don’t imply which CI/CD tool is more suitable for your upcoming or existing project. Jenkins is an open-source & Travis CI is free for open-source projects.

Jenkins Is Getting Old — It’s Time to Move On

After using Jenkins on several projects, we say it's time to move on. Jenkins is left behind with his old approach — found out more!

Simple CI/CD Pipeline Using Jenkins

In this blog we gone a see creating a CI/CD Pipeline using Jenkins. Some pre-requisites to create a CI/CD pipeline using Jenkins are Open-JDK-8, Jenkins installed on our system. At the very first we see a little bit introduction of Jenkins and why we need Jenkins Pipeline. Some pre-requisites to create a CI/CD pipeline using Jenkins are. Open-JDK-8Je

Serverless CI/CD on the AWS Cloud

To set up a serverless CI/CD pipeline in your AWS environments, there are several key services that you need to use. Find out more here.

How To Setup a CI/CD Pipeline With Kubernetes 2020 - DZone DevOps

This article gives direction to getting your CI/CD pipeline up and running on the Kubernetes cluster by the GitLab CICD pipeline.