microsoft / microsoft/azure-devops-go-api

Create Pipeline

Open
#79 8 comments 3 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.