Skip to content

IllegalStateException is thrown when calling JobWithDetails.getAllBuilds(Range range) #186

Closed

Description

There is curly braces in Range string representation like {0,999}. And it's being appended ur url in order to query range of builds. However in following code in JenkinsHttpClient, getting IllegalStateException because of this braces:

private URI api(String path)

return uri.resolve("/").resolve(path.replace(" ","%20")); // here

path with {} cannot be resolved. It must be escaped with %7B and %7D

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions