kubesphere / kubesphere/ks-devops
refactor jenkins client hard code
- Dominant language
- Go
- Stars
- 164
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
- refactor jenkins client PostForm method
https://github.com/kubesphere/ks-devops/blob/5c93d492e244f4b1c909eadd068ea0f8ab43a703/pkg/client/devops/jenkins/request.go#L113
- implementation
jenkins client add some new method for `pipeline-model-converter` plugin,eg: ```jenkins.validateJenkinsfile(string) ```。hide url for the caller
Contributor guide
Research direction
Start in pkg/client/devops/jenkins/request.go at the PostForm method around line 113, then review the requested pipeline-model-converter integration. Define the client methods needed for operations such as validateJenkinsfile(string) while hiding the URL from callers; done means the refactored client supports these methods without callers constructing the URL directly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, devops
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100