diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-11 15:08:10 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-11 15:08:10 +0100 |
commit | c77fbe338047d7cf5243929962cacc45e760156c (patch) | |
tree | ed64406a7172adc4c83dd94dd7794a3e9d7f159f /deploy_logic.py | |
parent | 888f1cb4c3084ee6a15b1ee9e1c638e765ea20fc (diff) | |
download | buildslave-scripts-c77fbe338047d7cf5243929962cacc45e760156c.tar.gz |
Fix deploy exiting with wrong value
Diffstat (limited to 'deploy_logic.py')
-rw-r--r-- | deploy_logic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy_logic.py b/deploy_logic.py index 6d4d939..c09cd2e 100644 --- a/deploy_logic.py +++ b/deploy_logic.py @@ -42,7 +42,7 @@ def trigger_testing(build_id): url = '%sdeploy_complete' % ORCHE_URL payload = {'artefact':build_id} r = requests.post(url,data=payload) - return r.ok + return not r.ok if __name__ == '__main__': import sys |