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

Add GitHub Webhook trigger

PreviousConfigure DockerHub and GitHub access tokens inside JenkinsNextExecute the Jenkins Build

Last updated 1 year ago

To add a GitHub webhook, go to the repository settings > Webhooks > Add webhook and paste the Jenkins URL followed by /github-webhook/

Select Content type as application/json and the push event option should be enabled.

After creating the webhook, it should give back 200 response in the recent deliveries

Now the Jenkins pipeline will be automatically triggered whenever any code changes are made to the repository.