Skip to content

Commit

Permalink
attempt to mitigate spurius upload failures
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed Sep 14, 2012
1 parent 1fa8893 commit 0234019
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,6 @@ run_dinstall = 0
post_upload_command = ssh rosbuild@@$ROS_REPO_FQDN -- /usr/bin/reprepro -b /var/www/repos/building --ignore=emptyfilenamepart -V processincoming $distro
" > $output_dir/dput.cf

dput -u -c $output_dir/dput.cf debtarget $output_dir/*$DISTRO*.changes
# retry the dput if it fails. This is a hack to avoid spurious failures caused due to collisions.

dput -u -c $output_dir/dput.cf debtarget $output_dir/*$DISTRO*.changes || dput -u -c $output_dir/dput.cf debtarget $output_dir/*$DISTRO*.changes

0 comments on commit 0234019

Please sign in to comment.