Skip to content

Commit 4b2c17a

Browse files
Update test-example.ps1
1 parent 5907613 commit 4b2c17a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test-example.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ param (
88
[string]$buildVersion = [Environment]::GetEnvironmentVariable("BUILD_VERSION", [EnvironmentVariableTarget]::Machine)
99
)
1010

11+
$global:CODE_CENTRAL_BUILD_VERSION = $Env:CodeCentralBuildVersion
12+
1113
# Repository's branch name, e.g. 24.1.3+
1214
$global:BRANCH_NAME = $branchName
1315
# Masstest-specific parameter. Specifies the minor version (example: '21.1.5') !or daily build (example: '21.2.2005')
@@ -218,6 +220,8 @@ function Write-BuildInfo {
218220
Write-Output "Build Version: $BUILD_VERSION"
219221
}
220222

223+
Write-Output "Code central build version:"
224+
Write-Output $global:CODE_CENTRAL_BUILD_VERSION
221225
Write-BuildInfo
222226
Set-BuildVersion
223227
Process-JavaScriptProjects -buildVersion $global:BUILD_VERSION

0 commit comments

Comments
 (0)