Skip to content

Commit 146dba0

Browse files
coloursofnoisedscho
authored andcommitted
Describe reasonFilter parameter in README
1 parent 8d3e930 commit 146dba0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ Every Azure Pipeline has a numerical identifier that is part of the URL. For exa
4646

4747
Pipelines can have an arbitrary number of artifacts, which are identified by a name. The `artifact` parameter specifies which one to download. It can be omitted if the given Pipeline run has only one artifact attached to it.
4848

49+
### Build filters
50+
51+
The `reasonFilter` parameter can be added to filter by the reason for a build.
52+
A list of accepted reasons can be found [here](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-rest-6.0#buildreason). This parameter defaults to `all` if omitted.
53+
4954
### Strip prefix
5055

5156
Pipeline artifacts can contain entire directory structures. The `stripPrefix` parameter allows filtering by a given path prefix; Any files matching that prefix will be written (after stripping the prefix), all other files will be skipped.

0 commit comments

Comments
 (0)