commit | 542f9489527a7c0523b0e541d674e4c5cab756ee | [log] [tgz] |
---|---|---|
author | Tobias Henkel <tobias.henkel@bmw-carit.de> | Tue Jul 11 10:02:57 2017 +0200 |
committer | Tobias Henkel <tobias.henkel@bmw-carit.de> | Tue Jul 11 10:28:09 2017 +0200 |
tree | a23cf18b83f216f826816066c762d71ea3fff64d | |
parent | 91fad2609f96ee0097fbea8baa65b5fbf95c93c1 [diff] |
Check ret for None in zuul_run_command The check 'if not ret' not only matches a missing return code but also the value 0 which is actually a successful run. Thus successful commands end with an error 'Something went horribly wrong during task execution'. This can be fixed by explicitly checking for None. Also adds a successful shell task to the test_playbook test case which fails without this patch. Change-Id: If1d0721574a82e247659ab0f865ae6acfe12a6be