Interview Prep/Jenkins/Multibranch, organization folders & webhooks

GitHub App vs personal access token for GitHub Branch Source: which and why?

IntermediateConceptMultibranch, organization folders & webhooks
Answer

Use a GitHub App credential. It authenticates as the app, not a person, so builds do not break when an employee leaves; permissions are fine-grained per repository; rate limits are higher (scale with repos, up to 15,000 requests/hour for Enterprise Cloud orgs vs 5,000 for a PAT) and short-lived installation tokens are generated per use. Configure it as a "GitHub App" credential with the App ID and private key (PKCS#8). A PAT is acceptable only for small setups.

All Jenkins questions Roadmap: Jenkins

More on Multibranch, organization folders & webhooks