Jenkins Agent Mistake
Find the Mistake Easy
Question
Find the mistake in this Jenkinsfile:
Code
pipeline {
agent none
stages {
stage('Build') {
steps { sh 'npm build' }
}
}
}
Explanation
With agent none, no agent is allocated, so the sh step cannot run. Use agent any or specify a specific agent label.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.