`GitHub API Usage: Current quota for Github API usage has 4 remaining (1 over budget). Next quota of 5000 in 38 min. Sleeping for 37 min.`
IntermediateTroubleshootingSCM, multibranch & webhooks
Answer
Likely causes → Many multibranch scans with a personal token, frequent periodic scans, organization folders scanning hundreds of repos.
Diagnose → Scan logs show rate limit messages; check scan intervals across folders.
Fix → Switch to a GitHub App credential (higher, per-installation limits), reduce periodic scans to daily, rely on webhooks, choose the "Throttle at/near rate limit" API usage strategy.
Prevent → Credential choice and scan intervals standardized in Job DSL.
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