diff options
| author | JakobL-MSFT <[email protected]> | 2024-01-22 09:34:24 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-22 09:34:24 -0800 |
| commit | 7e74c8021f961544ee14e55eb56166a671d66ee3 (patch) | |
| tree | 1687e7e09581a4f2462e9181368a00cd4a106bd6 /Build-SampleSet.ps1 | |
| parent | d3e7ba7e0625b0235a51206f558b4b5574992916 (diff) | |
Partial Manual Merge of develop to main specifically to add /sw1402 (#1083)
user/jakobl/partial_merge_develop_to_main
Diffstat (limited to 'Build-SampleSet.ps1')
| -rw-r--r-- | Build-SampleSet.ps1 | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Build-SampleSet.ps1 b/Build-SampleSet.ps1 index 2c75143a..535ac6db 100644 --- a/Build-SampleSet.ps1 +++ b/Build-SampleSet.ps1 @@ -51,10 +51,10 @@ finally { $build_environment="" $build_number=0 # -# EWDK sets environment variable Version_Number. For example '10.0.22621.0'. +# EWDK sets environment variable BuildLab. For example 'ni_release_svc_prod1.22621.2428'. # -if($env:Version_Number -match '10.0.(?<build>.*).0') { - $build_environment="EWDK" +if($env:BuildLab -match '(?<branch>[^.]*).(?<build>[^.]*).(?<qfe>[^.]*)') { + $build_environment=("EWDK."+$Matches.branch+"."+$Matches.build+"."+$Matches.qfe) $build_number=$Matches.build } # @@ -115,12 +115,14 @@ Import-Csv 'exclusions.csv' | ForEach-Object { } $jresult = @{ - SolutionsBuilt = 0 - SolutionsExcluded = 0 - SolutionsFailed = 0 - Results = @() - FailSet = @() - lock = [System.Threading.Mutex]::new($false) + SolutionsBuilt = 0 + SolutionsSucceeded = 0 + SolutionsExcluded = 0 + SolutionsUnsupported = 0 + SolutionsFailed = 0 + Results = @() + FailSet = @() + lock = [System.Threading.Mutex]::new($false) } $SolutionsTotal = $sampleSet.Count * $Configurations.Count * $Platforms.Count |
