diff options
Diffstat (limited to 'source/bottlerock.py')
-rw-r--r-- | source/bottlerock.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py index 3909ee5..2a92c56 100644 --- a/source/bottlerock.py +++ b/source/bottlerock.py @@ -62,7 +62,22 @@ def build_complete(): return HTTPResponse( status=400, body="400: A system name is required") - return call_trigger('build_complete',system) + buildslave_scripts_sha = request.forms.get("buildslave_scripts_sha") + if not buildslave_scripts_sha: + return HTTPResponse( + status=400, + body="400: A buildslave_scripts_sha is required") + definitions_sha = request.forms.get("definitions_sha") + if not definitions_sha: + return HTTPResponse( + status=400, + body="400: A definitions_sha is required") + testing_sha = request.forms.get("testing_sha") + if not testing_sha: + return HTTPResponse( + status=400, + body="400: A testing_sha is required") + return call_trigger('build_complete',system,buildslave_scripts_sha,definitions_sha,testing_sha) @post('/deploy_complete') def deploy_complete(): |