Forums

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

Bitbucket Post Script hooks does not trigger the script on commit

pp
Contributor
October 20, 2019

I have configured  bitbucket script post hooks (out of script runner plugin) based on every commit should run the groovy script which I have added, but whenever there is a commit, I don't think the groovy is executed or how do I know whether the script runs or not.

1 answer

1 accepted

0 votes
Answer accepted
Abdulkarim Itani October 20, 2019

You could log a text to your log file using:

log.warn("Can you see me?")

and check the logs for the above text 

pp
Contributor
October 21, 2019

@Abdulkarim Itani  Thankyou works great.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events