Creating a GitHub personal access token

Creating a personal access token will give the plugins the ability to access the code pushed to GitHub and create the necessary hooks to get notifications when new commits and pull requests occur. In order to create the token, use the following steps:

  1. Open https://github.com/settings/tokens in your browser.
  2. Click on the Generate new token button.
  3. Give it a descriptive name, such as Effective DevOps with AWS Jenkins.
  4. Select the  repo, admin:repo_hook, and admin:org_hook scopes.
  5. Click on the Generate token button.
  6. This brings you back to the main token page. Save the token that is generated. We will need it later.

Get Effective DevOps with AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.