CICD Pipeline using Jenkins & ArgoCD
  • About the project
  • Overview of the application
  • Dockerizing the application
  • Configure EC2 instance to setup the CI pipeline
  • Configure Jenkins on EC2 instance
  • Create Jenkins CI pipeline
  • Setting up SonarQube server
  • Configure DockerHub and GitHub access tokens inside Jenkins
  • Add GitHub Webhook trigger
  • Execute the Jenkins Build
  • Configure EC2 instance to setup the CD pipeline
  • Install MiniKube and Kubectl
  • Install ArgoCD
  • Deploy the app to Kubernetes using ArgoCD
Powered by GitBook
On this page

Configure DockerHub and GitHub access tokens inside Jenkins

PreviousSetting up SonarQube serverNextAdd GitHub Webhook trigger

Last updated 1 year ago

To add DockerHub and GitHub credentials in Jenkins, go to Manage Jenkins > Credentials > System > Global Credentials and add the below credentials:

  • For DockerHub credentials, set Kind as Username with password, provide the DockerHub username and password and set the ID as "docker-cred".

  • For GitHub access token, go to the GitHub account and create a personal access token with all the permissions. Inside Jenkins, set the Kind as Secret Text and paste the token with the ID as "github"

Restart the Jenkins after setting up the plugins and the credentials