Trigger Jenkins pipeline when there is a release in github

130 views Asked by At

I am new to Jenkins and I have found some posts regarding this problem in StackOverflow but I haven't been successful so far.

I am using Github Webhook to trigger the Jenkins build and I set "Send me everything" in Webhook config.

However, the pipeline is only triggered when a new commit is pushed to the main but it's not when there is a new release. This is my jenkins pipeline config:

enter image description here

Appreciate your help

0

There are 0 answers