[Windows] win: add validation InstalledSoftware.md and testResults.xml files (#3960)

* win: add validation InstalledSoftware.md file
This commit is contained in:
Aleksandr Chebotov
2021-08-27 09:38:18 +03:00
committed by GitHub
parent ca51829236
commit 5aa96839a8
9 changed files with 50 additions and 11 deletions

View File

@@ -264,6 +264,12 @@
"{{ template_dir }}/scripts/Tests/RunAll-Tests.ps1"
]
},
{
"type": "powershell",
"inline": [
"if (-not (Test-Path {{user `image_folder`}}\\Tests\\testResults.xml)) { throw '{{user `image_folder`}}\\Tests\\testResults.xml not found' }"
]
},
{
"type": "powershell",
"inline": [
@@ -273,6 +279,12 @@
"IMAGE_VERSION={{user `image_version`}}"
]
},
{
"type": "powershell",
"inline": [
"if (-not (Test-Path C:\\InstalledSoftware.md)) { throw 'C:\\InstalledSoftware.md not found' }"
]
},
{
"type": "file",
"source": "C:\\InstalledSoftware.md",