Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to verify that post-commit hook worked?

ahumaidat January 13, 2021

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
AUG Leaders

Atlassian Community Events