ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

Use the new API of the pipeline artifacts

Open LinuxSuRen opened this issue 3 years ago • 4 comments
trafficstars

What would you like to be added:

Change the API calling of pipeline artifacts from:

/kapis/devops.kubesphere.io/v1alpha2/jenkins/job/cly-devops7846x/job/test-pipeline/2/artifact/target/devops-sample-0.0.1-SNAPSHOT.jar to

GET /kapis/devops.kubesphere.io/v1alpha2/pipelineruns/demo-artifact-tt85n/artifacts?filePath=xxx.log

Why is this needed: See the details of the background from https://github.com/kubesphere/ks-devops/issues/449

The upstream issue is https://github.com/kubesphere/ks-devops/issues/449

References

  • https://github.com/kubesphere/ks-devops/issues/449

/area devops /good-first-issue

LinuxSuRen avatar Jan 20 '22 09:01 LinuxSuRen

@LinuxSuRen: This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to this:

What would you like to be added:

Change the API calling of pipeline artifacts from:

/kapis/devops.kubesphere.io/v1alpha2/jenkins/job/cly-devops7846x/job/test-pipeline/2/artifact/target/devops-sample-0.0.1-SNAPSHOT.jar to

GET /kapis/devops.kubesphere.io/v1alpha2/pipelineruns/demo-artifact-tt85n/artifacts?filePath=xxx.log

Why is this needed: See the details of the background from https://github.com/kubesphere/ks-devops/issues/449

The upstream issue is https://github.com/kubesphere/ks-devops/issues/449

References

  • https://github.com/kubesphere/ks-devops/issues/449

/area devops /good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

ks-ci-bot avatar Jan 20 '22 09:01 ks-ci-bot

Do we have to change the link only?

RishiKumarRay avatar Jan 20 '22 13:01 RishiKumarRay

Basically, yes. But we also need to consider the parameter of the API.

And we still need to wait for the backend API.

LinuxSuRen avatar Jan 20 '22 13:01 LinuxSuRen

/area console

LinuxSuRen avatar May 31 '22 09:05 LinuxSuRen