Skip to main content

Jenkins

This guide contains information to set up a Jenkins Source in Vanus Connect.

Introduction

Jenkins is a widely-used automation server that simplifies software development. It enables continuous integration and delivery, streamlining tasks like building, testing, and deploying code. With its extensive plugin ecosystem and active community support, Jenkins is a reliable choice for creating efficient automation solutions.

The Jenkins source connector enables the retrieval of build information through a payload URL. To achieve this, it is necessary to establish a connection within Jenkins.

Prerequisites


Perform the following steps to configure your Jenkins Source

Jenkins Connection Settings

To obtain all Jenkins events in Vanus Connect, follow these steps:

  • Write a Name① for your connection in Vanus Connect.

jenkins-source-1

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

  1. Go back to Vanus Connect and click Next⑰ to continue the configuration.

jenkins-source-22


Learn more about Vanus and Vanus Connect in our *documentation.