Browse Source

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>
changes/63/502863/1
Paul Belanger 5 years ago
parent
commit
e490ee23ad
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
  1. 2
      zuul/executor/server.py

2
zuul/executor/server.py

@ -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])

Loading…
Cancel
Save