- It is an Open-source CI/CD engine.
- It is simple scheduler which internally calls/executes linux or windows commands.
- It was designed for CI/CD.
- When you install Jenkins, a new user gets created.Whatever you do in Jenkins will be run as Jenkins user.
- Ensure all the environmental variables like
PATH
,JAVA_HOME
,PYTHON_HOME
, etc are defined correctly. - Ensure the software that you are going to use is correctly installed and configured.
- Ensure user have all necessary permissions.
- Refer this page for installation steps.
With the help of Docker, you don't need to follow long installation steps.
-
First install Docker, Follow this steps for Docker installation.
-
Run below command for pulling latest Jenkins image from Docker hub.
docker pull jenkins/jenkins:lts
-
Now run below command to run jenkins on port
8082
.docker container run -p 8082:8080 jenkins/jenkins:lts
-
Go to port
8082
and you will see below screen.
It's the starting screen of Jenkins. It will ask you for the administrator password, which is already present in your terminal. I already marked it for you.