-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e28f76
commit d8ae102
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!-- #include "./common/header.md" --> | ||
|
||
# Test-VSTeamMembership | ||
|
||
## SYNOPSIS | ||
|
||
<!-- #include "./synopsis/Test-VSTeamYamlPipeline.md" --> | ||
|
||
## SYNTAX | ||
|
||
## DESCRIPTION | ||
|
||
<!-- #include "./synopsis/Test-VSTeamYamlPipeline.md" --> | ||
|
||
## EXAMPLES | ||
|
||
### -------------------------- EXAMPLE 1 -------------------------- | ||
|
||
```PowerShell | ||
PS C:\> Test-VSTeamYamlPipeline -Project DemoProject -PipelineId 24 -FilePath './azure-pipelines.yml' | ||
Build Definition Build Number Status Result | ||
---------------- ------------ ------ ------ | ||
Demo-CI Demo-CI-45 notStarted | ||
``` | ||
|
||
This example checks the YAML pipeline with ID 24 and the file './azure-pipelines.yml' for consistency on Azure DevOps to see if the changes still work. | ||
|
||
## PARAMETERS | ||
|
||
<!-- #include "./params/projectName.md" --> | ||
|
||
### -PipelineId | ||
|
||
Id of the YAML pipeline to be checked | ||
|
||
```yaml | ||
Type: Int32 | ||
Position: 1 | ||
``` | ||
### -FilePath | ||
Path to the file that should be checked | ||
```yaml | ||
Type: String | ||
``` | ||
## INPUTS | ||
### System.String | ||
FilePath | ||
### System.Int32 | ||
PipelineId | ||
## OUTPUTS | ||
### Team.YamlPipelineResult | ||
## NOTES | ||
If you do not set the default project by called Set-VSTeamDefaultProject before calling Add-VSTeamBuild you will have to type in the names. | ||
## RELATED LINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Tests the commited YAML pipeline files to check for inconsitencies. |