diff --git a/Jenkinsfile b/Jenkinsfile index b89b095..3d7ec72 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) ]) } } diff --git a/build.sh b/build.sh index 31cafdc..4d09bf0 100644 --- a/build.sh +++ b/build.sh @@ -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