Skip to content

Commit

Permalink
Add build number param
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisherAmonulloev committed Nov 21, 2024
1 parent 336aea3 commit 5c49e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-example.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
param (
[string]$version = "latest"
)
$branchName = $env:branchName
$buildNumber = $env:BUILD_NUMBER

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

function Process-JavaScriptProjects {
Expand Down

0 comments on commit 5c49e2c

Please sign in to comment.