Introduce API for serving the artifacts archive
Merge request reports
Activity
Added 38 commits:
- 04ec08af...1817b766 - 37 commits from branch
master
- 1a95c5d0 - Introduce API for serving the artifacts archive
- 04ec08af...1817b766 - 37 commits from branch
69 # GET /projects/:id/builds/:build_id/artifacts 70 get ':id/builds/:build_id/artifacts' do 71 authorize_read_builds! 72 73 build = get_build(params[:build_id]) 74 return not_found!(build) unless build 75 76 artifacts_file = build.artifacts_file 77 78 unless artifacts_file.file_storage? 79 return redirect_to build.artifacts_file.url 80 end 81 82 unless artifacts_file.exists? 83 not_found! 84 end 65 # Parameters: 66 # id (required) - The ID of a build 67 # token (required) - The build authorization token 68 # Example Request: 69 # GET /projects/:id/builds/:build_id/artifacts 70 get ':id/builds/:build_id/artifacts' do 71 authorize_read_builds! 72 73 build = get_build(params[:build_id]) 74 return not_found!(build) unless build 75 76 artifacts_file = build.artifacts_file 77 78 unless artifacts_file.file_storage? 79 return redirect_to build.artifacts_file.url 80 end Added 1 commit:
- 73be775c - Fix ci_build trace trait
Added 1 commit:
- 17182cdf - Fix documentation
@ayufan
:)@grzesiek Are you happy about the changes? :)
@ayufan Sure, great work!
@rymai Please pick this too :)
mentioned in commit 20781b29
mentioned in merge request !2902 (merged)
mentioned in commit 040ae7e3
mentioned in commit ba893daf
mentioned in commit 0e41e657
mentioned in merge request !5347 (merged)
Mentioned in commit pfjason/gitlab-ce@0e41e657
Mentioned in commit pfjason/gitlab-ce@040ae7e3
Mentioned in commit dblessing/gitlab-ce@20781b29
mentioned in issue #56883 (moved)
Please register or sign in to reply