Skip to content

Commit

Permalink
Removed agent for psv6 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AtlassianPS Automated User authored and lipkau committed Mar 6, 2019
1 parent e415bee commit d1ee625
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,40 +129,40 @@ phases:
condition: succeededOrFailed()


- phase: Phase_5
displayName: Test Module on Windows (PSv6)

dependsOn: Phase_1
condition: succeeded()
queue:
name: Hosted VS2017

steps:
- script: 'choco install powershell-core --yes'
displayName: 'Install Powershell v6'

- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifacts'
inputs:
artifactName: Release
downloadPath: '$(Build.SourcesDirectory)'

- powershell: |
$Env:Path = [Environment]::GetEnvironmentVariable('Path',[EnvironmentVariableTarget]::Machine)
pwsh -command ". ./Tools/setup.ps1; Invoke-Build -Task ShowInfo"
displayName: Setup
- powershell: |
$Env:Path = [Environment]::GetEnvironmentVariable('Path',[EnvironmentVariableTarget]::Machine)
pwsh -command "Invoke-Build -Task Test"
displayName: Test
- task: PublishTestResults@2
displayName: 'Publish Test Results **/Test-*.xml'
inputs:
testRunner: NUnit
testResultsFiles: '**/Test-*.xml'
condition: succeededOrFailed()
# - phase: Phase_5
# displayName: Test Module on Windows (PSv6)

# dependsOn: Phase_1
# condition: succeeded()
# queue:
# name: Hosted VS2017

# steps:
# - script: 'choco install powershell-core --yes'
# displayName: 'Install Powershell v6'

# - task: DownloadBuildArtifacts@0
# displayName: 'Download Build Artifacts'
# inputs:
# artifactName: Release
# downloadPath: '$(Build.SourcesDirectory)'

# - powershell: |
# $Env:Path = [Environment]::GetEnvironmentVariable('Path',[EnvironmentVariableTarget]::Machine)
# pwsh -command ". ./Tools/setup.ps1; Invoke-Build -Task ShowInfo"
# displayName: Setup

# - powershell: |
# $Env:Path = [Environment]::GetEnvironmentVariable('Path',[EnvironmentVariableTarget]::Machine)
# pwsh -command "Invoke-Build -Task Test"
# displayName: Test

# - task: PublishTestResults@2
# displayName: 'Publish Test Results **/Test-*.xml'
# inputs:
# testRunner: NUnit
# testResultsFiles: '**/Test-*.xml'
# condition: succeededOrFailed()


- phase: Phase_6
Expand All @@ -172,7 +172,7 @@ phases:
- Phase_2
- Phase_3
- Phase_4
- Phase_5
# - Phase_5
condition: succeeded()
queue:
name: Hosted VS2017
Expand Down

0 comments on commit d1ee625

Please sign in to comment.