Skip to content
multibranch-scan-webhook-trigger
Java HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images initial sourcecode May 6, 2019
src fix for jenkins with authentication Jun 15, 2019
.gitignore initial sourcecode May 6, 2019
Jenkinsfile add jenkinsfile May 7, 2019
LICENSE initial sourcecode May 6, 2019
README.md Update README.md May 9, 2019
pom.xml [maven-release-plugin] prepare for next development iteration Jun 15, 2019

README.md

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
You can’t perform that action at this time.