Permalink
Browse files

Added functions to handle build definition templates.

  • Loading branch information...
igorguga committed Jul 11, 2017
1 parent 7ce7f9e commit bb0653e6165583d67ec26ace458a7181ac7ec628
@@ -0,0 +1,86 @@
---
external help file: TFSPowershell.Build.Help.xml
online version:
schema: 2.0.0
---
# Get-BuildDefinitionTemplate
## SYNOPSIS
Gets a build definition template.
## SYNTAX
```
Get-BuildDefinitionTemplate [-CollectionUrl] <String> [-TeamProjectName] <String>
[-BuildDefTemplateId] <String>
```
## DESCRIPTION
Gets a specifc build definition template.
## EXAMPLES
### Example 1
```
PS C:\> Get-BuildDefinitionTemplate -CollectionUrl https://myvisual.visualstudio.com -TeamProject myTeamproject -BuildDefTemplateId "VSBuild"
```
Retrieves the information of the "VSBuild" Build Definition Template.
## PARAMETERS
### -CollectionUrl
The TeamProjectCollection URL.
Ex.: https://tfs2015.local/tfs/defaultcollection.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -TeamProjectName
The Team Project name.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -BuildDefTemplateId
The Id of the Build Definition Template. Usually it is the same as the Build Definition Template name.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
## INPUTS
## OUTPUTS
## NOTES
## RELATED LINKS
@@ -0,0 +1,70 @@
---
external help file: TFSPowershell.Build.Help.xml
online version:
schema: 2.0.0
---
# Get-BuildDefinitionTemplates
## SYNOPSIS
Gets all build definition templates of a given Team Project.
## SYNTAX
```
Get-BuildDefinitionTemplates [-CollectionUrl] <String> [-TeamProjectName] <String>
```
## DESCRIPTION
Gets all build definition templates of a given Team Project.
## EXAMPLES
### Example 1
```
PS C:\> Get-BuildDefinitionTemplates -CollectionUrl https://myvisual.visualstudio.com -TeamProject myTeamproject
```
Retrieves all Build Definition Templates from "myTeamproject" team project.
## PARAMETERS
### -CollectionUrl
The TeamProjectCollection URL.
Ex.: https://tfs2015.local/tfs/defaultcollection.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -TeamProjectName
The Team Project name.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
## INPUTS
## OUTPUTS
## NOTES
## RELATED LINKS
@@ -25,7 +25,7 @@ Gets the service enpoints for a given Team Project.
PS C:\> Get-ServiceEndpoints -CollectionUrl https://myvisual.visualstudio.com -TeamProject myTeamproject
```
{{ Add example description here }}
## PARAMETERS
@@ -0,0 +1,54 @@
---
external help file: TFSPowershell.Tfs.Help.xml
online version:
schema: 2.0.0
---
# Get-TeamProjects
## SYNOPSIS
Gets all Collection Team Projects.
## SYNTAX
```
Get-TeamProjects [[-CollectionUrl] <String>]
```
## DESCRIPTION
Gets all Team Projects information of a given Collection/Subscription.
## EXAMPLES
### Example 1
```
PS C:\> Get-TeamProjects -CollectionUrl https://myvisual.visualstudio.com
```
Gets all team projects from "myvisual" collection.
## PARAMETERS
### -CollectionUrl
The TeamProjectCollection URL.
Ex.: https://tfs2015.local/tfs/defaultcollection.
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
## INPUTS
## OUTPUTS
## NOTES
## RELATED LINKS
Oops, something went wrong.

0 comments on commit bb0653e

Please sign in to comment.