Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket: How can I control the execution order of multiple Post-receive hooks?

Kathy Turetzky
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2019

I have 2 post-receive hook plugins in Bitbucket that run after commits are processed.  One I wrote and one that I am trialing from Bitbucket.  I would like to execute the one I wrote first and then execute the one that I am trialing.  These plugins are located [bitbucket]/home/plugins after it is installed.  How can this be done?

I did find you can control the execution order of external script hooks that can be placed in shared/data/repositories/XX/hooks/post-receive.d by prefixing the file with a number starting with 21 as explained at the bottom of this link:

https://confluence.atlassian.com/bitbucketserverkb/how-to-create-a-simple-hook-in-bitbucket-server-779171711.html

Can this same ordering be accomplished for plugins?

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events