Skip to main content

Configuring Jenkins to Send Webhook Events

Step 1: Configure webhook

  1. Click the copy icon① to copy the webhook url

jenkins-source-2

  1. Log in to your Jenkins account.

Step 2: Send Jenkins Event

  1. Click on Manage Jenkins①.

jenkins-source-3

  1. Navigate to the Plugins② section.

jenkins-source-4

  1. Click on Available plugins③.

jenkins-source-5

  1. Search for http request④.

jenkins-source-6

  1. Select⑤ the plugin and click on Install without restart⑥.

jenkins-source-7

  1. Click on Go back to the top page⑦.

jenkins-source-8

  1. Access your project⑧ by clicking on it.

jenkins-source-9

  1. Click on Configure⑨.

jenkins-source-10

  1. Scroll down to Build Steps⑩ and click on Add build step⑪.

jenkins-source-11

  1. Select HTTP Request⑫.

jenkins-source-12

  1. Provide the payload URL⑬ copied from your Jenkins source connector in Vanus Connect and choose POST⑭ as the HTTP mode.

jenkins-source-13

  1. Click on Advanced⑮ to see more settings.

jenkins-source-14

  1. Set your desired parameters and click on Save⑯.

jenkins-source-15

note

If you are employing a custom script to transmit events, there is no requirement to install the HTTP Request plugin.