Rename success ansible variable to zuul_success

Scope our 'success' variable from previous runs as zuul_success.

Change-Id: I96af116b9a830e5d67a9b4fd7fa7451620ad3b16
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-09-11 19:37:57 -04:00
parent ffbb3f9c72
commit e490ee23ad
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 1 deletions

View File

@ -1634,7 +1634,7 @@ class AnsibleJob(object):
cmd.extend(['-e', '@' + playbook.secrets])
if success is not None:
cmd.extend(['-e', 'success=%s' % str(bool(success))])
cmd.extend(['-e', 'zuul_success=%s' % str(bool(success))])
if phase:
cmd.extend(['-e', 'zuul_execution_phase=%s' % phase])