Skip to content

Commit 934200f

Browse files
authored
Fixed the group id (Azure#26040)
1 parent d057fb5 commit 934200f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

eng/scripts/Language-Settings.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function ValidatePackage($groupId, $artifactId, $version, $DocValidationImageId)
360360
else
361361
{
362362
Write-Host "Validating using $DocValidationImageId on $artifactId."
363-
return DockerValidation -packageName "$artifactId" -packageVersion "$version" -groupId "$groudId" -DocValidationImageId $DocValidationImageId -workingDirectory $packageDirectory
363+
return DockerValidation -packageName "$artifactId" -packageVersion "$version" -groupId "$groupId" -DocValidationImageId $DocValidationImageId -workingDirectory $packageDirectory
364364
}
365365
}
366366

@@ -372,7 +372,6 @@ function FallbackValidation ($artifactNamePrefix, $workingDirectory)
372372

373373
function DockerValidation($packageName, $packageVersion, $groupId, $DocValidationImageId, $workingdirectory)
374374
{
375-
376375
$output = docker run -v "${workingDirectory}:/workdir/out" `
377376
-e TARGET_PACKAGE=$packageName -e TARGET_VERSION=$packageVersion -e TARGET_GROUP_ID=$groupId -t $DocValidationImageId 2>&1
378377
# The docker exit codes: https://docs.docker.com/engine/reference/run/#exit-status
@@ -659,7 +658,7 @@ function Validate-java-DocMsPackages ($PackageInfo, $DocValidationImageId)
659658
{
660659
if (!(ValidatePackage $PackageInfo.Group $PackageInfo.Name $PackageInfo.Version $DocValidationImageId))
661660
{
662-
Write-Error "Package $PackageInfo.Name failed on validation" -ErrorAction Stop
661+
Write-Error "Package $($PackageInfo.Name) failed on validation" -ErrorAction Continue
663662
}
664663
return
665664
}

0 commit comments

Comments
 (0)