Jenkins Installation and Jobs
Summary: in this tutorial, you will learn learn how to install jenkins, configure agents, and set up jobs using source control and build steps.
Jenkins Installation and Jobs
This tutorial covers Jenkins installation options, agents, and job configuration.
Jenkins installation paths
Common install options:
- Native package for Linux
- Docker container
- Homebrew on macOS
- Windows installer
For Docker:
docker run --name jenkins -p 8080:8080 -p 50000:50000 jenkins/jenkins:ltsManage agents
Agents execute builds. The default built-in agent runs on the Jenkins controller, but you can add separate worker agents for better isolation.
Create a job with Git
- Create a new Pipeline job.
- Choose
Pipeline script from SCM. - Enter your Git repository URL.
- Define the branch and credentials.
Example Jenkinsfile:
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'echo "Building..."'
}
}
}
}Run and inspect builds
After saving, click Build Now. Jenkins shows console output and build status.
Why jobs matter
Jobs are the building blocks of automation. They capture how your software is built, tested, and deployed so the process can be repeated reliably.
Written by the ShellRAG Team
The ShellRAG editorial team writes practical, beginner-friendly Jenkins tutorials with tested code examples and real-world use cases. Every article is technically reviewed for accuracy and updated regularly.
Learn more about us →