Skip to content

Commit

Permalink
For Build-AllSamples.ps1: For EWDK: Log full build lab string. (#1079)
Browse files Browse the repository at this point in the history
user/jakob/ewdk_print_buildlab
  • Loading branch information
JakobL-MSFT authored Jan 21, 2024
1 parent f7fc914 commit 6ac1123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Build-SampleSet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
#
Expand Down

0 comments on commit 6ac1123

Please sign in to comment.