`ERROR: Library shack-lib expected to contain at least one of src or vars directories`
BeginnerTroubleshootingSCM, multibranch & webhooks
Answer
Likely causes → The retriever points to the wrong repo, branch or subdirectory; the library files are nested (e.g. under jenkins/) without setting the library path.
Diagnose → Browse the configured version in Git and check top-level folders.
Fix → Fix the repo URL/version, or set Library Path (libraryPath: 'jenkins/' in modernSCM) for libraries in a subfolder.
Prevent → Keep libraries in dedicated repos with vars/ and src/ at the root.
More on SCM, multibranch & webhooks
`ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.`Beginner`stderr: fatal: could not read Username for 'https://github.com': No such device or address`BeginnerCheckout fails with `No ED25519 host key is known for github.com and you have requested strict checking.`IntermediateGitHub webhook deliveries show `302` or `404` and builds do not startBeginnerWebhook deliveries return `200` but nothing buildsAdvancedMultibranch scan log: `‘Jenkinsfile’ not found` and `Does not meet criteria` for a branch that has a JenkinsfileIntermediate