- linux
- git
- CI/CD
Jenkins is an open source CI/CD and deployment automation software DevOps tool writeen in the Java programming language
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key |sudo gpg --dearmor -o /usr/share/keyrings/jenkins.gpg
sudo sh -c 'echo deb [signed-by=/usr/share/keyrings/jenkins.gpg] http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install openjdk-11-jdk -y
sudo apt install jenkins -y
- New item
- Name: firstproject
- Select Freestyle Project
- General:
- GitHub Project
- Throttle builds
- Source Code Management
- Add github creds
- Build Triggers
- Github hook trigger for GITScm pooling
- Pool SCM (check crontab guru)
- Build Env
- Build