Overview
Jenkins is an open-source continuous integration and continuous deployment (CI/CD) tool for automating the build, test, and deployment of software projects.
1. Installation and Configuration
1.1 Install with Docker
# Pull Jenkins image
docker pull jenkins/jenkins:lts
# Create data directory
mkdir -p /var/jenkins_home
chown -R 1000:1000 /var/jenkins_home
# Start container
docker run -d \
--name jenkins \
-p 8080:8080 \
-p 50000:50000 \
-v /var/jenkins_home:/var/jenkins_home \
jenkins/jenkins:lts
6/1/24About 3 min