Skip to content

Instantly share code, notes, and snippets.

@vishnuhd
Created April 14, 2020 06:03
Show Gist options
  • Save vishnuhd/45a673f9174dc76ae9dab0401d26dc4d to your computer and use it in GitHub Desktop.
Save vishnuhd/45a673f9174dc76ae9dab0401d26dc4d to your computer and use it in GitHub Desktop.
Jenkins generic webhook trigger

Put the following in github webhook section:

https://jenkins.example.com/v1/generic-webhook-trigger/invoke?token=my-token&apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

where :

apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx is for API Gateway api key token=my-token is same as configured in Jenkins job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment