---
title: "Wait for Deployments"
---
Waits for deployments to a pipeline stage to complete.
WaitFor-Deployments(
Application: <text>,
PipelineStage: <text>,
[ReleaseNumber: <text>],
[BuildNumber: <text>]
);
This operation may be prefixed with BuildMaster::
, although this is a built-in namespace and isn't really necessary.
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ In application | text | Application | This argument is required. |
☆ Pipeline stage | text | PipelineStage | This argument is required. |
Release number | text | ReleaseNumber | This may be a specific release number, "latest" or "any". Default value is "any". |
Build number | text | BuildNumber | This may be a specific release number, "latest" or "any". Default value is "any". |
WaitFor-Deployments
(
Application: Hdars.Packager,
ReleaseNumber: 1.0.0,
BuildNumber: 10,
PipelineStage: Integration
);