forked from StartAutomating/PSDevOps
-
Notifications
You must be signed in to change notification settings - Fork 0
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
StartAutomating
authored and
StartAutomating
committed
Jun 7, 2022
1 parent
b804b08
commit 645229e
Showing
1 changed file
with
107 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,107 @@ | ||
|
||
Wait-ADOBuild | ||
------------- | ||
### Synopsis | ||
Waits for Azure DevOps Builds | ||
|
||
--- | ||
### Description | ||
|
||
Waits for Azure DevOps or TFS Builds to complete, fail, get cancelled, or be postponed. | ||
|
||
--- | ||
### Related Links | ||
* [Get-ADOBuild](Get-ADOBuild.md) | ||
* [Start-ADOBuild](Start-ADOBuild.md) | ||
--- | ||
### Examples | ||
#### EXAMPLE 1 | ||
```PowerShell | ||
Get-ADOBuild -Organization MyOrg -Project MyProject -First 1 | | ||
Wait-ADOBuild | ||
``` | ||
|
||
--- | ||
### Parameters | ||
#### **Organization** | ||
|
||
The Organization | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput | | ||
|--------------|--------|-------|---------------------| | ||
|```[String]```|true |1 |true (ByPropertyName)| | ||
--- | ||
#### **Project** | ||
|
||
The Project | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput | | ||
|--------------|--------|-------|---------------------| | ||
|```[String]```|true |2 |true (ByPropertyName)| | ||
--- | ||
#### **BuildID** | ||
|
||
One or more build IDs. | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput | | ||
|----------------|--------|-------|---------------------| | ||
|```[String[]]```|true |3 |true (ByPropertyName)| | ||
--- | ||
#### **Server** | ||
|
||
The server. By default https://dev.azure.com/. | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput | | ||
|-----------|--------|-------|---------------------| | ||
|```[Uri]```|false |4 |true (ByPropertyName)| | ||
--- | ||
#### **ApiVersion** | ||
|
||
The api version. By default, 5.1. | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput| | ||
|--------------|--------|-------|-------------| | ||
|```[String]```|false |5 |false | | ||
--- | ||
#### **PollingInterval** | ||
|
||
The time to wait before each retry. By default, 3 1/3 seconds. | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput| | ||
|----------------|--------|-------|-------------| | ||
|```[TimeSpan]```|false |6 |false | | ||
--- | ||
#### **Timeout** | ||
|
||
The timeout. If provided, the function will wait no longer than the timeout. | ||
|
||
|
||
|
||
|Type |Requried|Postion|PipelineInput| | ||
|----------------|--------|-------|-------------| | ||
|```[TimeSpan]```|false |7 |false | | ||
--- | ||
### Outputs | ||
PSDevOps.Build | ||
|
||
|
||
--- | ||
### Syntax | ||
```PowerShell | ||
Wait-ADOBuild [-Organization] <String> [-Project] <String> [-BuildID] <String[]> [[-Server] <Uri>] [[-ApiVersion] <String>] [[-PollingInterval] <TimeSpan>] [[-Timeout] <TimeSpan>] [<CommonParameters>] | ||
``` | ||
--- | ||
|
||
|