Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,182
Community Members
 
Community Events
168
Community Groups

How to verify that post-commit hook worked?

Edited

I'm using this request:

/usr/bin/curl -X PUT -H "X-Api-Key: $key" -H "Content-Type: application/json" -m 20 "$URL/fecru/rest-service-fecru/admin/repositories/$repo/incremental-index"

The request returns nothing, and when checking the Maintenance tab for the repo, Last index update shows that it was updated 2 hours ago.

Do I need to stop automatic polling to test the hook?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events