knowledge-base

Stash x Jenkins Integration for Feature branches

Post-Receive hooks

There is a couple of discussions regarding remote triggering of Multibranch Pipelines in Jenkins. It doesn’t seem to work without using some ugly workarounds:

Stash Notifier Plugin

This plugin should allow Jenkins to report the build status (“in progress”, “success” or “failed”) back to Stash.

Currently it is not possible to install this plugin using the Jenkins Plugin Manager GUI: https://github.com/jenkinsci/stashnotifier-plugin/issues/137

The workaround is to login into the Jenkins Master and install manually:

ssh jenkins@<jenkins-vm-address>
cd /var/lib/jenkins/plugins
wget https://github.com/jenkinsci/stashnotifier-plugin/releases/download/1.11.4/stashNotifier.hpi
--> restart Jenkins

Further information