Skip to content

Commit

Permalink
Updated varible to be set for build.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
ElstonLewis committed Nov 16, 2023
1 parent aaea671 commit d9efd52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ for (region in REGIONS.tokenize(",")) {
string(name: 'BRANCH', value: BRANCH),
string(name: 'VOL_SIZE', value: volume_size),
string(name: 'ISO_URL', value: iso_url),
string(name: 'PRODUCT_CODES', value: product_codes)
string(name: 'OUTSCALE_PRODUCT_CODES', value: product_codes)
])
}
}
Expand Down
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export UOMI_NAME=$OUTSCALE_REGION-$OMI_NAME
# Generate OMI
export OUTSCALE_X509CERT='/var/lib/jenkins/cert/cert.pem'
export OUTSCALE_X509KEY='/var/lib/jenkins/cert/key.pem'
export PRODUCT_CODES=$OUTSCALE_PRODUCT_CODES
if [ "$VOL_SIZE" == 0 ] || [ -z "$VOL_SIZE" ]; then
unset PKR_VAR_volsize
else
Expand Down

0 comments on commit d9efd52

Please sign in to comment.