feat: Add support for filtering Jobs by an array of scopes #3827
Conversation
6e468ba to
34aea83
Compare
|
Hi @jdalrymple, I'm getting intermittent test failures i.e.: https://circleci.com/gh/jdalrymple/gitbeaker/1719 But I think the change is good, and I've tested it locally against gitlab.com |
Ive seen these as well. I've tried to figure out where its coming from but it seems inconsistent. I've been looking for solutions to hopefully get around this behaviour. |
I expect the container is running out of memory. Have you tried bumping the CircleCI node-executor resource class to |
|
Ill give it a look! Not sure why jest is needing 8Gbs though :/ hahaha, i might shard them to see if that improves things |
Summary
Add support for the
scopeparameter to accept both string and array of strings in Jobs API methods, aligning with the GitLab API.Changes
Updated Methods
Jobs.all()- Updatedscopeparameter to acceptJobScope | JobScope[]Jobs.allPipelineBridges()- Updatedscopeparameter to acceptJobScope | JobScope[]Reference