Include the commit that was deployed in deployment finished notices.

With our currently rather slow deploys, this helps with the confusing
case where 2 deploys happen in quick succession and the second is
blocked by the lock.

(imported from commit 5a8bd449ecbe0825838faf72099b67f94db7797a)
This commit is contained in:
Tim Abbott
2013-05-31 12:15:47 -04:00
parent df6a93ddb6
commit 8d40864c8b

View File

@@ -59,6 +59,6 @@ for ln in sys.stdin:
server, branch = deployments[refname]
ret = update_deployment(server, oldrev, newrev, branch)
if ret == 0:
send_deployment_finished_humbug(branch, "deployment finished successfully!")
send_deployment_finished_humbug(branch, "deployment of `%s` finished successfully!" % (newrev[:12],))
else:
send_deployment_finished_humbug(branch, "deployment failed!")
send_deployment_finished_humbug(branch, "deployment of `%s` failed!" % (newrev[:12],))