This project demonstrates a distributed Jenkins architecture with:
- Ubuntu Master (Controller)
- Ubuntu & CentOS Agents
- Multi-cloud CI/CD setup (GCP + AWS)
- Hosted on GCP
- SSH-based agent connection
- Jobs executed on agent using labels
- Cross-OS Jenkins setup
- Managed package differences (
aptvsdnf) - Pipeline execution on CentOS node
- Jenkins Master on GCP
- Agent on AWS EC2
- Cross-cloud job execution via SSH
sudo apt update
sudo apt install openjdk-17-jdk -y
java -version
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb https://pkg.jenkins.io/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install jenkins -y
sudo systemctl start jenkins
sudo systemctl enable jenkins