[opensuse-buildservice] Testing whether a BS instance is available?
I'm wondering what's the best command to check whether a BS is available and ready to accept commits? Probably something with "osc api", but what's the exact command, please? -- Karl Eichwalder SUSE LINUX Products GmbH R&D / Documentation Maxfeldstraße 5 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Donnerstag, 8. September 2011, 15:25:29 schrieb Karl Eichwalder:
I'm wondering what's the best command to check whether a BS is available and ready to accept commits? Probably something with "osc api", but what's the exact command, please?
You may use osc api /build/_workerstatus that is at least what the webui monitor is using. You can find all kind of details about the server state inside. If you get not a 200 HTTP code then there is some trouble :) -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
participants (2)
-
Adrian Schröter
-
Karl Eichwalder