yalegria / devops-git-actions

0 stars 0 forks source link

How to Integrate Jenkins with GitHub #19

Open Voxelghiest opened 3 years ago

Voxelghiest commented 2 years ago

Here are the steps to follow when preparing a GitHub repo for integration with Jenkins:

  1. While setting up Jenkins, be sure to select the "GitHub" plugin package, which will install all the necessary dependencies into Jenkins
  2. If you have not already, create a Personal Access Token (PAT) for your GitHub account. When you access your repo, you will need the PAT for your credentials (as the old password system has been deprecated)
  3. Create a Jenkinsfile with your pipeline's scripting information and place it at the root of your repo. Details on the Jenkinsfile can be found in #18