Skip to content

gdisanto/multibranch-scan-webhook-trigger-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multibranch Scan Webhook Trigger

Build Status

All multibranch projects comes with build in periodically scan trigger that polls scm and check wich branches has changed and than build those branches.

This is a Jenkins plugin that add functionality to do this scan on webhook:

  1. Receive any HTTP request, JENKINS_URL/multibranch-webhook-trigger/invoke?token=TOKENHERE
  2. Trigger a multibranch jobs scan that matches the token

Configure the Token parameter

There is a special token parameter. When supplied, the invocation will only trigger jobs with that exact token. The token also allows invocations without any other authentication credentials.

Parameter

The token can be supplied as a:

  • Request parameter: curl -POST http://localhost:8080/jenkins/multibranch-webhook-trigger/invoke?token=my-token
  • Token header: curl -POST -H "token: my-token" http://localhost:8080/jenkins/multibranch-webhook-trigger/invoke

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.0%
  • HTML 9.0%