How is the vault configured with the Jenkins job

From PheonixSolutions
Jump to navigation Jump to search

How is the vault configured with the Jenkins job

Prerequisites

Before starting, ensure you have:

1. A jenkins dashboard access.

Step1:

  1. Log in to the Jenkins
  2. Go to the dashboard
  3. And go to the new item or existing job

Step2:

Enter the domain or any other name for your identification

Step3:

If you want a new item, Skip the option and click OK.

Step4:

Go to the build environment and select the vault plugin.

After the vault plugin vault URL and vault credentials.

Step5:

Go to build steps and execute the shell using the below command and steps. And these steps and commands are just a reference.

Step6:

Go to post-build actions

Give the save option

Step7:

  1. Click the build with parameters
  2. And give branch option
  3. Click the build

Step8:

Go to the console output and it gets a success or not. This output is just a reference.