スキップしてコンテンツを表示

Lambda Invoke Manually from jenkins using AWS Lambda Invoke

0

Hi,

I am using aws lambda invoke but sometimes lambda is invoking multiple times.Can you please let me know the options to trigger lambda only once when i run the jenkins pipeline. My requirement is to trigger lambda manually not schedule or through sqs.

質問済み 2年前759ビュー

2回答
1

I don't have a good overview of the current environment setup but there could be a few reasons why a Lambda function could be invoked more than once, a few that I've encountered were related to:

  1. On errors: A function can be invoked multiple times depending on the number of configured retries and type of error. You can read more about this from the API docs. It may be useful to verify the CloudWatch Logs generated by the function in execution to see if there is an error.
  2. On timeouts: On long running functions that exceed the timeout your function may be invoked more than once, if this is the case, increasing the timeout will help. This was documented as an issue in the pipeline-aws-plugin for jekinsci. That thread may be useful troubleshooting your issue.

Hope this helps in your troubleshooting.

回答済み 2年前

0
エキスパート

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ