commit | cc61ea80d4990f7caa57c38344c82881dfca5602 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Mon Jun 13 16:39:42 2016 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Mon Jun 13 16:39:42 2016 +0000 |
tree | 9ff22e61583148e8ba642b0c196d12e8db8b22cb | |
parent | d57e493a1ac6dadda6662b5e735bd8a048c10165 [diff] | |
parent | 4c5b10381f01b36507c862c72a052341b2fc0cc2 [diff] |
Merge "Add POST_FAILURE status"
diff --git a/zuul/launcher/ansiblelaunchserver.py b/zuul/launcher/ansiblelaunchserver.py index 5bef6d3..4bf8da6 100644 --- a/zuul/launcher/ansiblelaunchserver.py +++ b/zuul/launcher/ansiblelaunchserver.py
@@ -792,7 +792,9 @@ return result post_status = self.runAnsiblePostPlaybook(jobdir, job_status) - if job_status and post_status: + if not post_status: + status = 'POST_FAILURE' + elif job_status: status = 'SUCCESS' else: status = 'FAILURE'