User Tools

Site Tools


projects:stash_jenkins_trigger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

projects:stash_jenkins_trigger [2016/01/11 15:55]
mkucia created
projects:stash_jenkins_trigger [2016/01/11 15:57] (current)
mkucia [Using [Http Request Post Receive Hook] and [Build Authorization Token Root Plugin]]
Line 3: Line 3:
 ===== Using [Http Request Post Receive Hook] and [Build Authorization Token Root Plugin] ===== ===== Using [Http Request Post Receive Hook] and [Build Authorization Token Root Plugin] =====
 The notifications did not work for me because of  The notifications did not work for me because of 
-''​org.acegisecurity.AccessDeniedException:​ Invalid token provided.''​ +<​code>​org.acegisecurity.AccessDeniedException:​ Invalid token provided.</​code>​
 Instead Instead
-''​http://​{JENKINS_URL}/​buildByToken/​build?​job={SOME+JOB+NAME}&​token={TOKEN}/​''​+ 
 +<​code>​http://​{JENKINS_URL}/​buildByToken/​build?​job={SOME+JOB+NAME}&​token={TOKEN}/​</​code>​
  
 use use
-''​http://​{JENKINS_URL}/​buildByToken/​build?​token={TOKEN}&​job={SOME+JOB+NAME}/​''​+ 
 +<​code>​http://​{JENKINS_URL}/​buildByToken/​build?​token={TOKEN}&​job={SOME+JOB+NAME}/​</​code>​
  
 Fixed! Bitbucket can now trigger jenkins build! Fixed! Bitbucket can now trigger jenkins build!
projects/stash_jenkins_trigger.txt · Last modified: 2016/01/11 15:57 by mkucia