Closed sthaha closed 6 years ago
This a sub-task of https://github.com/openshiftio/openshift.io/issues/3356#issuecomment-387840234 which requires a status api that jenkins-proxy can call. The exisited IsIdle is not sufficient as IsIdle returning false does not mean the pod is running as it can also mean starting.
IsIdle
false
running
starting
We will need a REST API in jenkins proxy which returns a 200 if Jenkins is up, and a non-200 if Jenkins is not up ( and being unidled ).
This a sub-task of https://github.com/openshiftio/openshift.io/issues/3356#issuecomment-387840234 which requires a status api that jenkins-proxy can call. The exisited IsIdle is not sufficient as
IsIdle
returningfalse
does not mean the pod isrunning
as it can also meanstarting
.