Skip to content

HttpResponseException: Not Found (createJob) #176

Description

@garburator

Hi there,

I've been having issues with JenkinsServer.createJob(String jobName, String jobXml). When performing the action I get an http error from the validator (partial stack trace):

org.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:157) at com.offbytwo.jenkins.client.JenkinsHttpClient.getQuietly(JenkinsHttpClient.java:203) at com.offbytwo.jenkins.client.JenkinsHttpClient.post_xml(JenkinsHttpClient.java:361) at com.offbytwo.jenkins.JenkinsServer.createJob(JenkinsServer.java:334) at com.offbytwo.jenkins.JenkinsServer.createJob(JenkinsServer.java:298)

Source of the issue:
screen shot 2016-08-16 at 3 33 11 pm

The strange thing is the jobs are created.

Jenkins Client API Version: 0.3.5
Jenkins Server Version: 1.642

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions