aws-lambda-jenkins-plugin
aws-lambda-jenkins-plugin copied to clipboard
[Feature request] File as payload
AWS CLI has ability to use file as payload: aws lambda invoke --payload file://test_event.json I tried to go the same way, but unsuccessful:
Payload:
file://test_event.json
ERROR: Build step failed with exception
java.lang.RuntimeException: com.amazonaws.services.lambda.model.InvalidRequestContentException: Could not parse request body into json: Unrecognized token 'file': was expecting 'null', 'true', 'false' or NaN
Please, add such feature it should be straightforward.