Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58106

org.apache.http.client.HttpResponseException: Not Found on jenkins.getJobs();

    Details

    • Similar Issues:

      Description

      jenkins-client - 0.3.8

      Jenkins Server - 2.164.2

       

      Code Snippet:

       

      jenkinsHttpClient=new JenkinsHttpClient(new URI("http://localhost:8080/jenkins"), "storedb",

      jenkinsHttpClient=new JenkinsHttpClient(new URI("http://10.207.140.201:8080/jenkins"), "username", "password"); System.out.println(jenkinsHttpClient.getJenkinsVersion());

      jenkins = new JenkinsServer(jenkinsHttpClient); 

      Map<String, Job> jobs = jenkins.getJobs();

       

       error faced :

       

      org.apache.http.client.HttpResponseException: Not Foundorg.apache.http.client.HttpResponseException: Not Found 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 com.kohls.main.JenkinsJobXMLFileStatus.main(JenkinsJobXMLFileStatus.java:25)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              khmarbaise Karl-Heinz Marbaise
              Reporter:
              vivekmaya1 Vivek Selvaraj
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: