Skip to content

Commit

Permalink
Checking for package
Browse files Browse the repository at this point in the history
  • Loading branch information
ckairen committed Sep 4, 2021
1 parent 1bb8e93 commit ef9eebc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/pipelines/templates/jobs/smoke.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ jobs:
return @{ "name" = $matches[1]; "version" = $matches[2] }
}
}
if (($artifacts.count -eq 0) -Or ($artifacts.name -match "${{parameters.Artifact.name}}")) {
Write-Host "Can't find package ${{parameters.Artifact.name}}"
exit 1
}
$dependencies = Get-Content $(requirements) | ForEach-Object {
$line = $_
if ($line -match "([a-zA-Z\-]+)(\W+)(.*)") {
Expand Down

0 comments on commit ef9eebc

Please sign in to comment.