jenkinsci / jenkinsci/java-client-api
Getting HTTP HttpResponseException
- Dominant language
- Java
- Stars
- 913
- Forks
- 466
- PR merge metrics
- No merged PRs in 30d
Description
Getting HTTP HttpResponseException for every API except getVersion().
Below is the exception i am getting:
org.apache.http.client.HttpResponseException: at com.offbytwo.jenkins.client.validator.HttpResponseValidator.validateResponse(HttpResponseValidator.java:11)
at com.offbytwo.jenkins.client.JenkinsHttpClient.get(JenkinsHttpClient.java:152)
at com.offbytwo.jenkins.JenkinsServer.getJobs(JenkinsServer.java:169)
at com.offbytwo.jenkins.JenkinsServer.getJobs(JenkinsServer.java:127)
at Jenkins.main(Jenkins.java:70)
I am just creating the JenkinsServer Object using the URI and username and password and hitting the methods, But getting the above exception.
Seems like it is failing at validating the API. Please Help.
Contributor guide
Assessment
This issue has not been assessed yet.