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
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events