Investigate: Listing CLoudbees Jenkins instance
Overview
It seems that we're currently not able to list a Cloudbees Jenkins instance (/cjoc).
Curl request to https://jenkins.example.com/cjoc/crumbIssuer/api/json returns valid JSON, e.g.
{"_class":"hudson.security.csrf.DefaultCrumbIssuer","crumb":"172fb7578dc6a7ba910158bd416be6da9ebba118cf7105685ae1b50ad36a3644","crumbRequestField":"Jenkins-Crumb"}
However, evaluate-jenkins -s https://jenkins.example.com/cjoc -u <user-email> -t <token> fails with
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://jenkins.example.com/cjoc/cjoc/job/add-cross-account-role/api/json
And running evaluate-jenkins -s https://jenkins.example.com -u <user-email> -t <token> fails with
requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://jenkins.example.com/crumbIssuer/api/json
Edited by Petar Prokić