Deploy Build
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Deploy Build
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
Deploy Build
Deploys a build in BuildMaster of an application, and optionally waits for it to complete.
Script usage:
Deploy-Build( Application: <text>, [ReleaseNumber: <text>], [BuildNumber: <text>], [Variables: <%(key1: value1, ...)>], [From: <text>], [To: <text>], [Force: <true/false>], [Wait: <true/false>], [FailIfCannotDeploy: <true/false>] );
This operation may be prefixed with Core::
, although this is a built-in namespace and isn't really necessary.
Arguments:
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ In application | text | Application | This argument is required. |
For release number | text | ReleaseNumber | This may be a specific release number, "latest" or "all". |
Build number | text | BuildNumber | Select a specific build number. This may also be left blank to select all active builds. |
Deployment variables | %(key1: value1, ...) | Variables | |
From stage | text | From | |
To stage | text | To | |
Force past gate | true/false | Force | |
Wait for deployments | true/false | Wait | |
Fail if nothing is deployed | true/false | FailIfCannotDeploy |
Note: When all releases is specified, then a build in *each* release will be created.
Note: When "from" or "to" pipeline stages are specified, only packages that come from or are going to those stages in their pipeline will be deployed.
Was this article helpful?