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

Get build by build number #92

Open
akaars opened this issue Aug 19, 2018 · 0 comments
Open

Get build by build number #92

akaars opened this issue Aug 19, 2018 · 0 comments

Comments

@akaars
Copy link

akaars commented Aug 19, 2018

Hi,
I'm using the legacy code and noticed it's not possible to get a build by it's number. The fix is easy - add "number" to the get_builds function:

def get_builds(self,
                   build_type_id='', branch='', status='', running='',
                   tags=None,
                   user=None, project='', pinned=None, number=None,
                   since_build=None, until_build=None, since_date=None, until_date=None,
                   start=0, count=100, **kwargs):
        _get_locator_kwargs = {}
        if number:
            _get_locator_kwargs['number'] = number

Is there a chance to add it to the package?

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

1 participant