Merge pull request #2062 from akv-platform/al-cheb/move-stage

[Image.CI] Move up the readme output stage
This commit is contained in:
Maxim Lobanov
2020-11-16 10:54:08 +03:00
committed by GitHub

View File

@@ -41,6 +41,14 @@ jobs:
-VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME) `
-GitHubFeedToken $(GITHUB_TOKEN)
- task: PowerShell@2
displayName: 'Output Readme file content'
inputs:
targetType: 'inline'
script: |
$docsPath = Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1 | Select-Object -First 1
Get-Content -Path $docsPath
- task: PowerShell@2
displayName: 'Create release for VM deployment'
inputs:
@@ -53,14 +61,6 @@ jobs:
-ImageName ${{ parameters.image_type }} `
-AccessToken $(RELEASE_TARGET_TOKEN)
- task: PowerShell@2
displayName: 'Output Readme file content'
inputs:
targetType: 'inline'
script: |
$docsPath = Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1 | Select-Object -First 1
Get-Content -Path $docsPath
- task: PowerShell@2
displayName: 'Clean up resources'
condition: always()