Skip to content

Commit 5c49e2c

Browse files
Add build number param
1 parent 336aea3 commit 5c49e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-example.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
param (
22
[string]$version = "latest"
33
)
4-
$branchName = $env:branchName
4+
$buildNumber = $env:BUILD_NUMBER
55

6-
Write-Host "Branch name: $branchName"
6+
Write-Host "Build number: $buildNumber"
77
$global:errorCode = 0
88

99
function Process-JavaScriptProjects {

0 commit comments

Comments
 (0)