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

How to verify that post-commit hook worked?

ahumaidat
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!
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