aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/new-publish/propagate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/new-publish/propagate.py b/utils/new-publish/propagate.py
index df184be..86af7d5 100755
--- a/utils/new-publish/propagate.py
+++ b/utils/new-publish/propagate.py
@@ -65,9 +65,11 @@ if __name__ == "__main__":
client.connect(remote_host, username=TRIGGER_USER_NAME, key_filename=TRIGGER_KEY_FILE)
stdin, stdout, stderr = client.exec_command("reshuffle-files -t android -j %s -n %s -m %s" % (job, build, opt_staging))
stdin.close()
+ rc = stdout.channel.recv_exit_status()
print "=== stdout ==="
print stdout.read()
print "=== stderr ==="
print stderr.read()
print "=============="
client.close()
+ sys.exit(rc)