Skip to content

Commit

Permalink
Updating Wait-ADOBuild.md
Browse files Browse the repository at this point in the history
  • 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.
107 changes: 107 additions & 0 deletions docs/Wait-ADOBuild.md
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>]
```
---


0 comments on commit 645229e

Please sign in to comment.