feat(jobs): Support job artifacts file_type attribute

What does this MR do and why?

This change adds a sibling method to JobsService.GetJobArtifacts that supports passing the newly introduced file_type API attribute to download not only the artifacts archive but also report artifacts.

The new method is deprecated from the get go because the possibility of passing API options should be part of the GetJobArtifacts method's signature. It is added here to make downloading job report artifacts possible since introducing the options to the existing method would be a breaking change.

References

Merge Request: gitlab-org/gitlab!252518 (merged)

Merge request reports

Loading
Loading