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

refactor: separate monitoring configuration from project initialization #93

Closed pchila closed 2 years ago

pchila commented 2 years ago

Remove monitoring configuration from keptnInit and introduce a new function keptnConfigureMonitoring to be called after all the appropriate resources have been added to the keptn project. If monitoring is still passed to keptnInit the pipeline will fail with an appropriate error message.

Signed-off-by: Paolo Chila paolo.chila@dynatrace.com BREAKING CHANGE: passing a monitoring type during init will make the pipeline fail! Please remove the argument and use keptnConfigureMonitoring