Directory Structure and Installing Plugins in Jenkins

Directory Structure and Installing Plugins in Jenkins

Hi readers, in this blog we will be discussing Jenkins's directory structure. Also, we will be looking at how different config file store into .jenkins folder.

Reading Time: 4 minutes

Hi readers, in this blog we will be discussing Jenkins’s directory structure. Also, we will be looking at how different config file store into .jenkins folder.

Jenkins plugin & directory Structure

The Jenkins home directory contains all the details of your Jenkins server configuration, details that you configure in the Manage Jenkins screen. These configuration details are stored in the form of a set of XML files. Many of the core configurations are stored in the config.xml file.

Jenkins FileSystem

The config.xml file contains information about Jenkins like version, Pipeline information, owner, etc. It also contains the workspace Directory path, builds Directory path.

Fingerprint

It stores the fingerprint information of credentials like git, node, etc.

Job

It stores different jobs that we have created in our Jenkins. It contains sub-directory of each job for each job it contains config.xml, next build number, build folder.

Selected job folder

Builds folder contains each build folder and permalinks file which contains lastFailedBuild ,lastStableBuild ,lastSuccessfulBuild,lastUnstableBuild ,lastUnsuccessfulBuild .

Builds Folder

Build no folder contains the polling log, log information, and build details like the result, run duration of the build, etc.

Selected build no folder

plugins

This directory contains any plugins that you have installed. Plugins allow you to extend Jenkins by adding extra features. This means that you can update your Jenkins executable and not have to reinstall all your plugins.

userContent

You can use this directory to place your own custom content onto your Jenkins server. You can access files in this directory at http://myserver/userContent.

UserContent

As I have contains the only readme.txt which is the default file in this folder you can store any file you want here.

users

If you are using the native Jenkins user database, user accounts will be stored in this directory.

Users

workspace

The workspace directory is where Jenkins builds your project: it contains the source code Jenkins checks out, plus any files generated by the build itself. This workspace is reused for each successive build—there is only ever one workspace directory per project, and the disk space it requires tends to be relatively stable.

Workspace

secrets

secrets needed when migrating credentials to other servers. It helps us to migrate credentials without reveling to someone. It stores a master key, initialAdminPassword, etc.

devops jenkins directory structure jenkins plugins

Bootstrap 5 Complete Course with Examples

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

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Why You Should Be Adopting a DevOps Culture in 2020 - DZone DevOps

The year 2020 has arrived, and its arrival brings a lot of innovations and transformations in the Information and Technology (IT) sector to DevOps technologies.

What is DevOps Lifecycle? | How to manage yours

DevOps lifecycle delineates the journey of product development from the start till the end. Its main objective is to eradicate all discrepancies and achieve delivery of products at pace.

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.

DevOps Rewind - 2 | Jenkins Pipeline Tutorial | DevOps Tools | DevOps Training

🔥Edureka DevOps Training: https://www.edureka.co/devops-certification-training This Edureka Video on "Jenkins pipeline Tutorial" will help you understand the

DevOps Rewind - 5 | Selenium Jenkins Integration Tutorial | DevOps Tools | DevOps Training

🔥Edureka DevOps Training: https://www.edureka.co/devops-certification-training In this Edureka tutorial on Selenium Jenkins Integration , we will take you th...