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
Update packer file_path triggers
[releng/global-jjb.git]
/
shell
/
packer-build.sh
diff --git
a/shell/packer-build.sh
b/shell/packer-build.sh
index
714cd33
..
e730545
100644
(file)
--- a/
shell/packer-build.sh
+++ b/
shell/packer-build.sh
@@
-31,7
+31,7
@@
export PACKER_LOG_PATH="$PACKER_BUILD_LOG" && \
"../packer/templates/$PACKER_TEMPLATE.json"
# Retrive the list of cloud providers
"../packer/templates/$PACKER_TEMPLATE.json"
# Retrive the list of cloud providers
-
clouds=($(jq -r '.builders[].name' "../packer/templates/$PACKER_TEMPLATE.json")
)
+
mapfile -t clouds < <(jq -r '.builders[].name' "../packer/templates/$PACKER_TEMPLATE.json"
)
# Split public/private clouds logs
for cloud in "${clouds[@]}"; do
# Split public/private clouds logs
for cloud in "${clouds[@]}"; do