Code Review
/
ci-management.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
250ed50
)
Merge "ta: iso deploy: Fix artifact name in checksum file"
author
Eric Ball
<eball@linuxfoundation.org>
Mon, 25 Nov 2019 22:41:51 +0000
(22:41 +0000)
committer
Gerrit Code Review
<gerrit@akraino.org>
Mon, 25 Nov 2019 22:41:51 +0000
(22:41 +0000)
jjb/shell/ta-iso-deploy.sh
patch
|
blob
|
history
diff --git
a/jjb/shell/ta-iso-deploy.sh
b/jjb/shell/ta-iso-deploy.sh
index
c9d5559
..
1ec4731
100644
(file)
--- a/
jjb/shell/ta-iso-deploy.sh
+++ b/
jjb/shell/ta-iso-deploy.sh
@@
-27,10
+27,12
@@
nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO"
mkdir -p "$upload_dir1"
mkdir -p "$upload_dir2"
-if [ "$(uname -m)" != 'x86_64' ]; then
+platform_arch=$(uname -m)
+if [ "${platform_arch}" != 'x86_64' ]; then
# On non-x86 architecture, rename the artifacts appropiately
pushd "$WORKSPACE/work/results/images/"
- rename "s/\./.$(uname -m)./" *.*
+ rename "s/\./.${platform_arch}./" *.*
+ sed -i "s/\./.${platform_arch}./" *."${platform_arch}".iso.*
popd
fi