Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AzD2019 setting #211

Merged
merged 3 commits into from
Nov 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .docs/Set-VSTeamAPIVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Specifies the version to use. The acceptable values for this parameter are:

- TFS2017
- TFS2018
- AzD2019
- VSTS
- AzD

Expand Down
1 change: 1 addition & 0 deletions .docs/params/Version.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Specifies the version to use. The acceptable values for this parameter are:

- TFS2017
- TFS2018
- AzD2019
- VSTS
- AzD

Expand Down
2 changes: 1 addition & 1 deletion .docs/synopsis/Set-VSTeamAPIVersion.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sets the API versions to support either TFS2017, TFS2018 or AzD.
Sets the API versions to support either TFS2017, TFS2018, AzD2019 or AzD.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ I am truly grateful for all the support developing VSTeam. It means a lot that y
- Use an empty account to run the integration tests
- Set the following Environment variables.
- $env:ACCT = VSTS Account Name or full TFS URL including collection
- $env:API_VERSION = TFS2017, TFS2018 or VSTS depending on the value used for ACCT
- $env:API_VERSION = TFS2017, TFS2018, AzD2019 for on-prem versions, or VSTS for the Service variant, depending on the value used for ACCT
- $env:EMAIL = Email of user to remove and re-add to account
- $env:PAT = Personal Access token of ACCT

Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

## 6.4.0

Merged [Pull Request](https://github.com/DarqueWarrior/vsteam/pull/211) from [Dick van de Meulengraaf](https://github.com/dickvdm) which included the following:

AzD2019 configuration, being Azure DevOps Server (on-prem) 2019 (17.143.28912.1)

Merged [Pull Request](https://github.com/DarqueWarrior/vsteam/pull/204) from [Jeroen Janssen](https://github.com/japj) which included the following:

add maxParallelism to Disable/Enable-VSTeamAgent
maxParallelism to Disable/Enable-VSTeamAgent

Merged [Pull Request](https://github.com/DarqueWarrior/vsteam/pull/205) from [Sebastian Schütze](https://github.com/SebastianSchuetze) which included the following:

Added Get-VSTeamWiql to get work items via [WIQL](https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/wiql?view=azure-devops-rest-5.1) and also to expand the returned work items with all fields selected.
Get-VSTeamWiql to get work items via [WIQL](https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/wiql?view=azure-devops-rest-5.1) and also to expand the returned work items with all fields selected.

## 6.3.6

Expand Down
2 changes: 1 addition & 1 deletion Source/Public/Add-VSTeamProfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Add-VSTeamProfile {

[string] $Name,

[ValidateSet('TFS2017', 'TFS2018', 'VSTS')]
[ValidateSet('TFS2017', 'TFS2018', 'AzD2019', 'VSTS')]
[string] $Version,

[switch] $UseBearerToken
Expand Down
17 changes: 16 additions & 1 deletion Source/Public/Set-VSTeamAPIVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Set-VSTeamAPIVersion {
[CmdletBinding(DefaultParameterSetName = 'Target', SupportsShouldProcess = $true, ConfirmImpact = "Low")]
param(
[parameter(ParameterSetName = 'Target', Mandatory = $false, Position = 0)]
[ValidateSet('TFS2017', 'TFS2018', 'VSTS', 'AzD')]
[ValidateSet('TFS2017', 'TFS2018', 'AzD2019', 'VSTS', 'AzD')]
[string] $Target = 'TFS2017',

[parameter(ParameterSetName = 'Service', Mandatory = $true, Position = 0)]
Expand Down Expand Up @@ -58,6 +58,21 @@ function Set-VSTeamAPIVersion {
}
else {
switch ($Target) {
'AzD2019' {
[VSTeamVersions]::Version = 'AzD2019'
[VSTeamVersions]::Git = '5.0'
[VSTeamVersions]::Core = '5.0'
[VSTeamVersions]::Build = '5.0'
[VSTeamVersions]::Release = '5.0'
[VSTeamVersions]::DistributedTask = '5.0'
[VSTeamVersions]::VariableGroups = '5.0'
[VSTeamVersions]::Tfvc = '5.0'
[VSTeamVersions]::Packaging = ''
[VSTeamVersions]::MemberEntitlementManagement = ''
[VSTeamVersions]::ServiceFabricEndpoint = '5.0'
[VSTeamVersions]::ExtensionsManagement = '5.0'
[VSTeamVersions]::Graph = ''
}
'TFS2018' {
[VSTeamVersions]::Version = 'TFS2018'
[VSTeamVersions]::Git = '3.2'
Expand Down
2 changes: 1 addition & 1 deletion Source/Public/Set-VSTeamAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Set-VSTeamAccount {
[parameter(ParameterSetName = 'Windows')]
[parameter(ParameterSetName = 'Secure')]
[Parameter(ParameterSetName = 'Plain')]
[ValidateSet('TFS2017', 'TFS2018', 'VSTS', 'AzD')]
[ValidateSet('TFS2017', 'TFS2018', 'AzD2019', 'VSTS', 'AzD')]
[string] $Version,

[string] $Drive,
Expand Down
12 changes: 11 additions & 1 deletion Source/en-US/VSTeam-Help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2925,10 +2925,11 @@ PS C:\> Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
<maml:para>If you are on AzD it will default to Azd otherwise it will default to TFS2017</maml:para>
<maml:para>If you are on AzD it will default to AzD otherwise it will default to TFS2017</maml:para>
</maml:Description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
<dev:type>
Expand Down Expand Up @@ -3008,6 +3009,7 @@ PS C:\&gt; Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -3065,6 +3067,7 @@ PS C:\&gt; Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -3172,6 +3175,7 @@ PS C:\&gt; Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -15654,6 +15658,7 @@ Remove-VSTeamVariableGroup @methodParameters</dev:code>
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -15761,6 +15766,7 @@ Remove-VSTeamVariableGroup @methodParameters</dev:code>
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -15842,6 +15848,7 @@ Remove-VSTeamVariableGroup @methodParameters</dev:code>
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -16036,6 +16043,7 @@ Remove-VSTeamVariableGroup @methodParameters</dev:code>
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
<maml:para></maml:para>
Expand Down Expand Up @@ -16244,6 +16252,7 @@ PS demo:\&gt; Get-ChildItem</dev:code>
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
</maml:Description>
Expand Down Expand Up @@ -16322,6 +16331,7 @@ PS demo:\&gt; Get-ChildItem</dev:code>
<maml:para>Specifies the version to use. The acceptable values for this parameter are:</maml:para>
<maml:para>- TFS2017</maml:para>
<maml:para>- TFS2018</maml:para>
<maml:para>- AzD2019</maml:para>
<maml:para>- VSTS</maml:para>
<maml:para>- AzD</maml:para>
</maml:Description>
Expand Down
2 changes: 1 addition & 1 deletion Source/en-US/about_vsteam.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ LONG DESCRIPTION
PS C:\> Set-VSTeamAPIVersion -Service Build -Version '4.0'

You can also use Set-VSTeamAPIVersion to set all the API versions for either
TFS2017, TFS2018 or AzD. TFS2017 is the default.
TFS2017, TFS2018, AzD2019 or AzD. TFS2017 is the default.

PS C:\> Set-VSTeamAPIVersion TFS2018

Expand Down
1 change: 1 addition & 0 deletions docs/Add-VSTeamProfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Specifies the version to use. The acceptable values for this parameter are:

- TFS2017
- TFS2018
- AzD2019
- VSTS
- AzD

Expand Down
7 changes: 4 additions & 3 deletions docs/Set-VSTeamAPIVersion.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@



# Set-VSTeamAPIVersion

## SYNOPSIS

Sets the API versions to support either TFS2017, TFS2018 or AzD.
Sets the API versions to support either TFS2017, TFS2018, AzD2019 or AzD.

## SYNTAX

Expand Down Expand Up @@ -39,6 +39,7 @@ Specifies the version to use. The acceptable values for this parameter are:

- TFS2017
- TFS2018
- AzD2019
- VSTS
- AzD

Expand Down Expand Up @@ -100,4 +101,4 @@ Parameter Sets: (All)
## NOTES

## RELATED LINKS

3 changes: 2 additions & 1 deletion docs/Set-VSTeamAccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ Required: True
Specifies the version to use. The acceptable values for this parameter are:

- TFS2017
- TFS2018
- TFS2018
- AzD2019
- VSTS
- AzD

Expand Down
Loading