Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 757 Bytes

2. Install-Jenkins.md

File metadata and controls

44 lines (28 loc) · 757 Bytes

Jenkins Installation

Step 1: Install OpenJDK 17

sudo apt install openjdk-17-jre-headless

Step 2: Add Jenkins Repository Key

sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
  https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key

echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
  https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
  /etc/apt/sources.list.d/jenkins.list > /dev/null

Step 3: Update Package Lists

sudo apt-get update

Step 4: Install Jenkins

sudo apt-get install jenkins

Step 5: Install Plugins

1. Kubernetes :: Pipeline :: DevOps Steps

2. Kubernetes CLI Plugin

3. Kubernetes Credentials Plugin

4. Kubernetes plugin