Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add sonar-prescan-script jobs for maven
[releng/global-jjb.git]
/
shell
/
packer-build.sh
diff --git
a/shell/packer-build.sh
b/shell/packer-build.sh
index
4cb3df3
..
73e7496
100644
(file)
--- a/
shell/packer-build.sh
+++ b/
shell/packer-build.sh
@@
-21,7
+21,6
@@
PACKER_LOGS_DIR="$WORKSPACE/archives/packer"
PACKER_BUILD_LOG="$PACKER_LOGS_DIR/packer-build.log"
mkdir -p "$PACKER_LOGS_DIR"
export PATH="${WORKSPACE}/bin:$PATH"
PACKER_BUILD_LOG="$PACKER_LOGS_DIR/packer-build.log"
mkdir -p "$PACKER_LOGS_DIR"
export PATH="${WORKSPACE}/bin:$PATH"
-export PACKER_BUILDER=${PACKER_BUILDER:-openstack}
cd packer
cd packer
@@
-64,6
+63,7
@@
fi
set +x
packer.io build -color=false \
set +x
packer.io build -color=false \
+ -only "${PACKER_BUILDER}" \
-var-file="$CLOUDENV" \
-var-file="$platform_file" \
"templates/$PACKER_TEMPLATE.json"
-var-file="$CLOUDENV" \
-var-file="$platform_file" \
"templates/$PACKER_TEMPLATE.json"