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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.