Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kekcogen opened this issue Sep 19, 2016 · 0 comments
Milestone

Comments

@kekcogen
Copy link

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

@khmarbaise khmarbaise added this to the Release 0.3.7 milestone Sep 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants