Start-TeamcityBuild
Starts a new build of a specific TeamCtiy build configuration with a specific branch.
Syntax
Start-TeamcityBuild [-BuildId] <String> [-Url] <String> [-User] <String> [-Password] <String> [-Branch] <String> [<CommonParameters>]
Description
Starts a new build of a specific TeamCtiy build configuration with a specific branch on a specific TeamCity server.
Parameters
-BuildId <String>
The id of the TeamCity build configuration.
Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
---|---|---|---|---|
1 | true | false | false |
-Url <String>
The TeamCity base url.
Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
---|---|---|---|---|
2 | true | false | false |
-User <String>
The user to log in the TeamCity.
Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
---|---|---|---|---|
3 | true | false | false |
-Password <String>
The password of the $User
Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
---|---|---|---|---|
4 | true | false | false |
-Branch <String>
The branch to start the build for.
Position | Required | Default value | Accept pipeline input | Accept wildchard characters |
---|---|---|---|---|
5 | true | false | false |
Examples
-------------------------- EXAMPLE 1 --------------------------
Start-TeamcityBuild -BuildId Sitecore_Project_Build -Url https://teamcity.unic.com -User myuser -Password mypass -Branch develop