keptn-sandbox / keptn-jenkins-library

Jenkins shared library for integrating Keptn Use Cases with your Jenkins Pipelines
Apache License 2.0
9 stars 24 forks source link

RFE: waitForEvaluationDoneEvent variable sleep time #119

Open popecruzdt opened 1 year ago

popecruzdt commented 1 year ago

Problem statement. The waitForEvaluationDoneEvent function has a hard coded sleep time of 10 seconds between retries. Users would like to make this duration configurable. The current value of 10 seconds causes unnecessary outputs in the console logs and excessive API calls.

Describe the solution you'd like Modify the sleep duration from 10 seconds to a variable that is set as an argument. If the argument is missing or equal to zero, then default to 10 seconds.

Describe alternatives you've considered N/A

Additional context N/A