kubesphere / kubesphere/ks-devops
Use the new API of the pipeline artifacts
- Dominant language
- Go
- Stars
- 164
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
**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
Contributor guide
Research direction
Start by locating the existing pipeline-artifact API call in the ks-devops codebase and read the background in upstream issue 449. Update the call to use the pipelineruns artifacts endpoint described here, then verify that pipeline artifact retrieval still works with the new filePath query parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- api, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100