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

Add Job.GetAllBuilds() call #34

Open
Cidan opened this issue Jul 30, 2016 · 2 comments
Open

Add Job.GetAllBuilds() call #34

Cidan opened this issue Jul 30, 2016 · 2 comments

Comments

@Cidan
Copy link

Cidan commented Jul 30, 2016

It would be very useful to get all builds at once with one network call instead of one by one via GetBuild as it would make iteration of all builds many times faster.

@bndr
Copy link
Owner

bndr commented Jul 30, 2016

You can get All build IDs that you can iterate with Job.GetAllBuildIds(), you will still have to make network request per build for more indepth data.

@Cidan
Copy link
Author

Cidan commented Jul 30, 2016

You can actually hit /view/All/job/<JOB_NAME>/api/json?depth=1 in order to get all build data in one call, which is what I'm referring to. It would make iterating over all jobs hundreds of times faster.

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

No branches or pull requests

2 participants