User Tools

Site Tools


projects:stash_jenkins_trigger

Stash/Bitbucket + Jenkins tips

Using [Http Request Post Receive Hook] and [Build Authorization Token Root Plugin]

The notifications did not work for me because of

org.acegisecurity.AccessDeniedException: Invalid token provided.

Instead

http://{JENKINS_URL}/buildByToken/build?job={SOME+JOB+NAME}&token={TOKEN}/

use

http://{JENKINS_URL}/buildByToken/build?token={TOKEN}&job={SOME+JOB+NAME}/

Fixed! Bitbucket can now trigger jenkins build!

projects/stash_jenkins_trigger.txt · Last modified: 2016/01/11 15:57 by mkucia