We run some scripts with REST-API requests after restart of our Bitbucket server (self-hosted). At the moment we wait (sleep statement) several minutes but this is a poor workaround.
What is the appropriate way to check if server has completely (re)startet and is able to answer REST requests safely?
Thank you for any hint.
Hello @Marko Schröder,
for Bitbucket you can use mybitbucket.company.com/status to check for a "Status: Running" return.
--Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.