we need the condition to be set on populateScanPaths step. if we don't, and there are previous failures in the analyze pipeline, we won't properly invoke verify readmes. (#37447)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
This commit is contained in:
Родитель
186410e47a
Коммит
b7ace864f7
|
@ -29,6 +29,7 @@ steps:
|
||||||
$scanPaths = $paths -join ","
|
$scanPaths = $paths -join ","
|
||||||
Write-Host "##vso[task.setvariable variable=ScanPathArgument;]$scanPaths"
|
Write-Host "##vso[task.setvariable variable=ScanPathArgument;]$scanPaths"
|
||||||
displayName: Populate Scan Paths
|
displayName: Populate Scan Paths
|
||||||
|
condition: ${{ parameters.Condition }}
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: "Verify Readmes"
|
displayName: "Verify Readmes"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче