Commit dbb3d8d9 authored by Ben Cooksley's avatar Ben Cooksley

Make sure we wait and block until the publishing process is completed.

Ref T3689
parent cb83342a
......@@ -195,7 +195,8 @@ class Archive(object):
# Ask the upload server to publish the metadata and archive
publishCommand = "{0}/helpers/publish-package.py --package {1} --platform {2} --environment {3}"
publishCommand = publishCommand.format( self.config['client']['uploadTools'], package, self.platform, self.name )
uploadConnection.exec_command( publishCommand )
cmdStdin, cmdStdout, cmdStderr = uploadConnection.exec_command( publishCommand )
cmdStdout.channel.recv_exit_status()
# We're all done with the remote server now, so disconnect
uploadConnection.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment