You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found one issues while using this plugin. I was trying set webhook_url dynamically,
the webhook_url is not fetching the values from the config file , so i debugged the plugin and analysed that the this.webhook_url = this.serverless.service.custom.slack.webhook_url; is reading in the constructor. So before setting up the value the constructor get executes and the webhook_url is not setting the evaluated value from config.
The Solution I found is read the webhook_url from afterDeployFunction and afterDeployService
Add the same ( this.webhook_url = this.serverless.service.custom.slack.webhook_url; ) in this method as well.
Developers please consider this issue when you are updating the new version
The text was updated successfully, but these errors were encountered:
I found one issues while using this plugin. I was trying set webhook_url dynamically,
the webhook_url is not fetching the values from the config file , so i debugged the plugin and analysed that the this.webhook_url = this.serverless.service.custom.slack.webhook_url; is reading in the constructor. So before setting up the value the constructor get executes and the webhook_url is not setting the evaluated value from config.
The Solution I found is read the webhook_url from afterDeployFunction and afterDeployService
Add the same ( this.webhook_url = this.serverless.service.custom.slack.webhook_url; ) in this method as well.
Developers please consider this issue when you are updating the new version
The text was updated successfully, but these errors were encountered: