Skip to content

Commit 8568a83

Browse files
ckairenweshaggard
andauthored
Smoke test package verification (Azure#20547)
* Checking for package * Update eng/pipelines/templates/jobs/smoke.tests.yml Co-authored-by: Wes Haggard <[email protected]> Co-authored-by: Wes Haggard <[email protected]>
1 parent 2a3875f commit 8568a83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eng/pipelines/templates/jobs/smoke.tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ jobs:
167167
return @{ "name" = $matches[1]; "version" = $matches[2] }
168168
}
169169
}
170+
if ($artifacts.name -notcontains "${{parameters.Artifact.name}}") {
171+
Write-Host "Can't find package ${{parameters.Artifact.name}}"
172+
exit 1
173+
}
170174
$dependencies = Get-Content $(requirements) | ForEach-Object {
171175
$line = $_
172176
if ($line -match "([a-zA-Z\-]+)(\W+)(.*)") {

0 commit comments

Comments
 (0)