
Links to find the jenkins Documentation
jenkins website has the latest documentation.
Install homebrew using the links on the video
How to verify brew is installed
brew -v
Verify docker is installed in your machine
docker -v
Documentation to install Jenkins using docker
Check the jenkins documentation tab for Docker
Helpful docker commands
docker ps -a
docker stop <container_id>
docker rm <container_id>
Check the Jenkins password
sudo docker exec ${CONTAINER_ID or CONTAINER_NAME} cat /var/jenkins_home/secrets/initialAdminPassword
How to connect to EC2 instance
sudo ssh -i /path/my-key-pair.pem ec2-user@[ip_address OR name]
1. Ensure that your software packages are up to date
sudo yum update –y
2. Add the Jenkins repo
[Important] Replace the <dns name>before the /redhat-stable/ by it shows on the video
sudo wget -O /etc/yum.repos.d/jenkins.repo <dns name>/redhat-stable/jenkins.repo
3. Import a key file from Jenkins-CI
[Important] Replace the <dns name>before the /redhat-stable/ by it shows on the video
sudo rpm --import <dns name>/redhat-stable/jenkins.io-2023.key
4. Update the package again
sudo yum upgrade
5. Install Java
sudo amazon-linux-extras install java-openjdk11 -y
6. Install Jenkins
sudo yum install jenkins -y
7. Enable the Jenkins
sudo systemctl enable jenkins
8. Start Jenkins
sudo systemctl start jenkins
9. Check the Jenkins Service status
sudo systemctl status jenkins
Repository URL
Github: acamostech/acamos-service-wapp
How to create SSH key
Search the documentation for "How to create SSH key"
Pipeline Scripts
Github: acamostech/acamos-service-wapp/blob/main/acamos-service-wapp-pipeline
Jenkins is an open-source automation platform based on Java. In this course we will learn what Jenkins is and why should one choose Jenkins. Along with the terminologies, we will have a look at its competitors as well. We will also learn to configure Jenkins and the various system requirements. We will also delve into the installation of Jenkins on Mac, Windows and AWS and the installation of Jenkins as container. Jenkins user interface also will be looked into. Jenkins plugins are used for Continuous Integration (CI). In this course, we will learn to manage Jenkins plugins along with global tool configuration. We will also learn Jenkins with Master and Nodes along with its configuration in the industry. In this course we will also discuss the various Jenkins jobs and the various types. We will also learn to create Jenkins job. Moreover we will learn to build job from GitHub source code. We will discuss pipeline jobs and the various job stages in the industry. Apart from that, we will also look into how to organise jobs by learning to create views and folders and deleting it as well. We will conclude the course by discussing about Jenkins with automation and checking out a few sample Jenkins Scripts.