Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find out if Bitbucket server has completey startet

Marko Schröder August 8, 2018

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.

1 answer

2 votes
Alexis Robert
Community Champion
August 8, 2018

Hello @Marko Schröder

 

for Bitbucket you can use mybitbucket.company.com/status to check for a "Status: Running" return.

 

--Alexis

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events