Skip to content

Commit

Permalink
RENG-145 Update config.sh fetch and pass upstream branch to the linux…
Browse files Browse the repository at this point in the history
…-pkg ant task
  • Loading branch information
shishaktdlpx committed Jul 3, 2023
1 parent 203e593 commit 455b55a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/virtualization/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ function build() {
# 'nothing' if 'variable' is not set. Because 'nothing' is not defined it evaluates to "" when 'variable'
# is not set. So [[ "" ]] is what is actually evaluated when 'variable' is not set.

if [[ ${UPSTREAM_PRODUCT_BRANCH+nothing} ]]; then
args+=("-Dbuild.branch=$UPSTREAM_PRODUCT_BRANCH")
fi

if [[ ${SECRET_DB_USE_JUMPBOX+nothing} ]]; then
args+=("-DSECRET_DB_USE_JUMPBOX=$SECRET_DB_USE_JUMPBOX")
fi
Expand Down

0 comments on commit 455b55a

Please sign in to comment.