-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
We have one artifact with a lot of applications with different names and folders.
We would like to use $(System.ArtifactsDirectory)*\Package name.msi. as the path.
Right now I have solved it by doing a powershell script before and saving it to a variable.
$path = Get-ChildItem -Path "E:\Agent\_work\r3\a\**" -Filter "Package Name*.msi" -Recurse -ErrorAction SilentlyContinue -Force
Write-Output ("##vso[task.setvariable variable=MSIPath;]$path")