X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fshell%2Fta-rpm-deploy.sh;fp=jjb%2Fshell%2Fta-rpm-deploy.sh;h=bd31a4c2f6b034e648b37ef5536b0eeb12177caf;hp=aa46e7a466fe4428e5875ccf8cd1d2d86e5c66cc;hb=06a5b03c0bfd96e93f79e2317be188d9a9c30dbc;hpb=c109904304d487c973b3bcfab90425661826a401 diff --git a/jjb/shell/ta-rpm-deploy.sh b/jjb/shell/ta-rpm-deploy.sh index aa46e7a..bd31a4c 100644 --- 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"