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

Create a new API to download artifacts from a PipelineRun #479

Merged
merged 11 commits into from
Mar 18, 2022
Prev Previous commit
Next Next commit
rebase to master
  • Loading branch information
mzmuer committed Mar 17, 2022
commit c92e558cd228ae69edbe037ee8189b672405ef63
2 changes: 1 addition & 1 deletion pkg/kapis/devops/v1alpha2/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ func AddPipelineToWebService(webservice *restful.WebService, devopsClient devops
Writes(map[string]interface{}{}))

// download PipelineRun artifact
webservice.Route(webservice.GET("/devops/{devops}/pipelines/{pipeline}/artifact/runs/{run}").
webservice.Route(webservice.GET("/devops/{devops}/pipelines/{pipeline}/runs/{run}/artifacts").
Param(webservice.PathParameter("devops", "DevOps project's ID, e.g. project-RRRRAzLBlLEm")).
Param(webservice.PathParameter("pipeline", "the name of the CI/CD pipeline")).
Param(webservice.PathParameter("run", "pipeline run ID, the unique ID for a pipeline once build.")).
Expand Down