wip
This commit is contained in:
parent
e17d92448a
commit
a91381732c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ app = Flask(__name__)
|
|||
|
||||
@app.route('/', methods = ['GET'])
|
||||
def build():
|
||||
strategy = request.args.get('strategy')
|
||||
strategy = request.args['strategy']
|
||||
hook_data = request.get_json()
|
||||
print(hook_data)
|
||||
return check_output([f'/opt/build-server/strategies/{strategy}', json.dumps(hook_data)])
|
||||
|
|
Loading…
Reference in a new issue