Jenkins
Learn Jenkins from freestyle jobs to declarative pipelines, shared libraries, Docker agents, and pipeline-as-code.
11 lessons, in order
- 120 min
What Is Jenkins
Open the careers page of almost any bank, telecom, hospital IT department, or game studio that has been running software for more than a decade, and...
History and Hudson forkWhy Jenkins is still everywhereController and agentsPlugin ecosystemJenkins vs GitLab CI vs GitHub Actions - 225 min
Your First Freestyle Job
You have read about what Jenkins is and why it stuck around. None of that matters until you have actually watched Jenkins clone a repository, run a...
New ItemFreestyle projectSource Code ManagementExecute shell build stepBuild NowConsole output - 330 min
Your First Declarative Pipeline
Go back to the freestyle job you built in the last lesson and imagine six months have passed. The shell script grew from three lines to eighty. A...
Pipeline job typeJenkinsfileAgent anyStages and stepsDeclarative vs scripted - 430 min
Stages, Steps, and Post Blocks
Your first pipeline was one sh line, and it worked. A real one is a checkout, a build, a test and a package, and the moment you have four of those in...
Multiple stagesSh and echoArchiveArtifactsJunit stepPost alwaysPost success and failure - 525 min
Artifacts and Test Results
The build went red at 2am and somebody has to work out why. They open the job, and the only thing on the page is a link to a console log: eleven...
ArchiveArtifactsJunit stepPublishHTMLTest trend graphFingerprinting - 630 min
Environment and Credentials
Your pipeline needs to push an image to a registry, and the registry wants a password. The quickest thing that works is to paste it into the...
Environment blockCredentials() helperJenkins credentials storeUsername with passwordSecret textSSH key+1 - 730 min
Parallel and Matrix Builds
Five stages, three minutes each, and the pipeline takes fifteen minutes. That number is not just annoying, it changes behaviour: people stop waiting...
Parallel inside a stageFan-out fan-inMatrix blockAxes and axisExcludes - 830 min
Agents and Docker
The build passed on Tuesday and failed on Wednesday, with no change to the code. It turns out Tuesday's build landed on the agent where somebody had...
Agent any vs agent noneAgent labelsAgent dockerAgent kubernetesPer-stage agents - 925 min
Triggers and Schedules
A pipeline that only runs when somebody clicks Build Now is not continuous integration, it is a button. The value of CI comes from the builds nobody...
Triggers blockCron syntax with HPollSCMMultibranch PipelineGitHub and GitLab webhooks - 1030 min
Shared Libraries
Open three Jenkinsfiles in your organisation and you will find the same fifteen lines of Groovy in all of them. The Slack notifier. The "build and...
Vars folderSrc folder@Library annotationCustom stepsGlobal utilities - 1145 min
Capstone: Pipeline as Code for a Node.js App
Time to wire everything together. You are going to write one Jenkinsfile that does the full job for a small Node.js project: checkout, install, lint...
Full JenkinsfileCheckoutParallel lint and testDocker build and pushCredentialsJunit results+1
Learn Jenkins in your language
Every lesson, quiz, and tutor reply renders in your language. The AI tutor matches the language you ask in.
Roles that use Jenkins
See how hiring teams interview engineers on Jenkins, in production-like environments.
CI/CD Engineer
Hire CI/CD engineers who keep your release train on time. Interview them in real GitHub Actions, GitLab CI and Jenkins workspaces with builds that fail the way they do in production.
See the interviewRelease/Build Engineer
Hire release and build engineers who make shipping boring. Real repos, real artifact stores, real signing flows. We record every step they take.
See the interviewDevOps Engineer
Hire DevOps engineers who actually ship. Run live or take-home interviews in production-like Linux environments with Docker, Kubernetes, Terraform and CI/CD. See how they debug, automate, and work alongside AI.
See the interview