Skip to content

Don't propagate IOException when GET for /CrumbIssuer fails. #38

Description

@hamaron

post() and post_xml() method in JenkinsHttpClient.java has a bug where we always get IOException when CrumbIssuer is not set up in a Jenkins server.
Specifically, the following code always throws IOException before doing POST.

Crumb crumb = get("/crumbIssuer", Crumb.class);

#26 resolved the Crumb issue for users who set up CrumbIssuer, but it is not always the case.

To support the other users who have not used the CrumbIssuer, we should modify this.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions