Jenkins Generic Webhook Trigger plugin use

Original link:

Coding project Webhook settings

1. Go to Project Settings => Developer Options => Service Hook => New Service Hook

2. Select different event trigger types and filter conditions according to your project

3. Configure the sending method

Action : default

Service URL : is your generic-webhook-trigger calling address, http://JENKINS_URL/generic-webhook-trigger/invoke

For example:

Build Token : You can customize it, the following project release settings will be used

Others that do not have to be filled in according to your actual needs

Project publish settings

1. Click on the build environment of the Jenkins project

2. Select Generic Webhook Trigger

3. Enter the corresponding token to save

  1. Push it, the successful automatic build

This article is reprinted from:
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment