Merge branch 'issue/580' into 'develop'

SCRUM#580: Refactor the deploy code

See merge request !12
3 jobs for develop in 8 minutes and 2 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build #27803
ubuntu regular

00:04:01

 
  Test
passed test #27804
ubuntu debootstrap

00:03:47

 
  Deploy
failed deploy_for_unstable #27805
debian-packaging

00:00:13

 
Name Stage Failure
failed
deploy_for_unstable Deploy
  File "/usr/share/dput/dput/dput.py", line 1189, in main
$USER not set, will use login information.
Uploading to repo (via scp to repo.c3sl.ufpr.br):
Successfully uploaded packages.
execute_command(command, position, debug)
File "/usr/share/dput/dput/dput.py", line 745, in execute_command
"Error: %s upload command failed." % position)
dput.helper.dputhelper.DputUploadFatalException: Error: post upload command failed.
ERROR: Job failed: exit code 1