Azure / Azure/pipelines

PipelineName does not perform an exact search - results in errors if pipelines contain the same name

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
bug P1
Dominant language
TypeScript
Stars
85
Forks
99
PR merge metrics
No merged PRs in 30d

Description

## Issue
Mutiple pipelines are returned when `releaseApi.getReleaseDefinitions` and `buildApi.getDefinitions` are called if the pipeline name supplied exists within the pipeline name.

i.e.
If you have two pipelines called: `myFirstPipeline` and `myFirstPipeline - Copy` and you run this action with a pipeline name of `myFirstPipeline` you will get an error:
```bash
> **Error**: More than 1 Pipeline named "myFirstPipeline" found in project "myproject"
```

### Expected Behavior
From the above example, running this action with a pipeline name of `myFirstPipeline` should execute the pipeline named `myFirstPipeline` and not error saying it found more than one build definition.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.