microsoft / microsoft/azure-devops-go-api
Create Pipeline
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 223
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I'm trying to create a pipeline (well strictly speaking, clone a pipeline for backup purposes).
I can 'get' the a pipeline easily enough, has all my build steps, variables etc etc.. and I want to try and recreate the pipeline elsewhere. All of this is for backup/restore purposes.
My problem is the pipelines.CreatePipeline() function. The CreatePipelineArgs doesn't seem to have much in it. There is an InputParameter parameter, which in turn has a CreatePipelineConfigurationParameters instance (which again doesn't seem to have much there). I was picturing that somewhere in the payload for the CreatePipeline I would either be populating structures that are basically identical to what I get on the GetPipeline(), or accept JSON. But I'm wrong.
Can someone clarify if creation of pipeline is working?
Thanks
Ken
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pipelines.CreatePipeline, CreatePipelineArgs, InputParameter, and CreatePipelineConfigurationParameters. Compare the creation inputs with the pipeline returned by GetPipeline and verify the Azure DevOps API's supported creation payload. Done means establishing whether pipeline cloning or backup restoration is supported and defining the required API behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100