Jenkins
Jenkins pipeline and agent errors - diagnosed.
Fix Jenkins failures: Jenkinsfile/pipeline syntax, plugin errors, agent connectivity, credentials, and build step failures.
Pipeline & Groovy
Jenkinsfile, declarative/scripted syntax.
"checkout scm" failureFix Jenkins "checkout scm" failures - a detached/missing revision, shallow-clone ref errors, submodule
"hudson.AbortException"Fix the Jenkins hudson.AbortException, the generic build-step abort raised when a step like sh, checkout, or
"No such DSL method found"Fix the Jenkins "No such DSL method X found among steps" error caused by a missing plugin, a misspelled step
Replay runs old codeFix Jenkins "Replay" confusion - a replay running the original build’s Jenkinsfile/library instead of the
"script returned exit code 1"Fix the Jenkins "script returned exit code 1" failure where a sh step command exited non-zero, failing the
"Scripts not permitted to use method"Fix Jenkins "Scripts not permitted to use method/staticMethod/new" RejectedAccessException from the Groovy
"WorkflowScript: unexpected token"Fix Jenkins "WorkflowScript: N: unexpected token" Groovy parse errors in a Jenkinsfile - a stray brace, bad
"Jenkinsfile not found"Fix Jenkins multibranch / pipeline-from-SCM "ERROR: ... Jenkinsfile not found" - the configured script path
"due to timeout"Fix Jenkins pipeline timeouts - "Cancelling nested steps due to timeout" and "Timeout has been exceeded" - by
Agents & nodes
Agent connectivity, executors, labels.
workspace cleanup failedFix Jenkins cleanWs / Workspace Cleanup failures - files locked or root-owned that cannot be deleted, the
"/bin/sh: Bad substitution"Fix Jenkins shell step "/bin/sh: 1: Bad substitution" - the `sh` step runs under POSIX `/bin/sh` (dash),
"Permission denied" (workspace)Fix Jenkins workspace "Permission denied" / "mkdir: cannot create directory" errors - wrong file ownership, a
Plugins & credentials
Plugin and credential errors.
Explore other topics
GitHub ActionsWorkflow, runner, and YAML errors - diagnosed and fixed.
Node.js & npmnpm, yarn, and pnpm failures in CI - solved.
DockerBuild, run, compose, and registry errors - explained.
Pythonpip, poetry, venv, and pytest failures - fixed.
Java & JVMMaven, Gradle, and JVM failures in CI - resolved.
GoGo build, module, and test failures - diagnosed.