Code Review
/
ci-management.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
735d1cd
)
Merge "shell: ta-rpm-deploy: Cleanup stale duplicates dir"
author
Eric Ball
<eball@linuxfoundation.org>
Tue, 17 Sep 2019 18:35:05 +0000
(18:35 +0000)
committer
Gerrit Code Review
<gerrit@akraino.org>
Tue, 17 Sep 2019 18:35:05 +0000
(18:35 +0000)
jjb/shell/ta-rpm-deploy.sh
patch
|
blob
|
history
diff --git
a/jjb/shell/ta-rpm-deploy.sh
b/jjb/shell/ta-rpm-deploy.sh
index
aa46e7a
..
bd31a4c
100644
(file)
--- a/
jjb/shell/ta-rpm-deploy.sh
+++ b/
jjb/shell/ta-rpm-deploy.sh
@@
-27,6
+27,7
@@
results_dir="$WORKSPACE/work/results"
repo_name=`echo $WORKSPACE | awk -F '/' '{print $4}' | cut -d '-' -f2- | sed 's|\(.*\)-.*|\1|'`
#Creating dirs to move duplicate RPMs/SRPMs to avoid re-upload and copy the changed RPMs/SRPMs
+rm -rf "$results_dir/repo/duplicates" "$results_dir/src_repo/duplicates"
mkdir "$results_dir/repo/duplicates"
mkdir "$results_dir/src_repo/duplicates"
mkdir -p "$arch_dir"