-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drone <-> Slack integration errors after latest version released #112
Comments
The same here. |
@Leen15 are you using since as well or is this something different? The type changed from |
@donny-dont I'm using this plugin configured as follow:
The "notify-pipeline-start" output is:
The "notify-pipeline-end" output is:
I have the same steps in most of our repositories so every pipeline is failing due to this issue. In slack it arrives an empty message (I think for the start step, nothing for the end step): |
K thanks both of you we'll add those to a set of tests to make sure stuff doesn't break next time we try and reland this. |
is this released? still getting empty messages in mattermost. thanks |
I encountered no response in slack channel, but the drone status shows success |
Pulling the latest plugins/slack image triggers the following error:
time="2020-09-17T14:31:23Z" level=error msg="execution failed: could not create template message: Evaluation error: Helper since called with argument 0 with type time.Time but it should be int64\nCurrent node:\n\tPath{Original:'build.started', Pos:190}"
drone configuration section:
name: slack
image: plugins/slack:latest
settings:
webhook:
from_secret: slack_webhook
channel: drone-notificiations
template: >
{{uppercase build.status}}
when:
status: [ success, failure ]
Reverting back to 1.3.0 fixes the issue
The text was updated successfully, but these errors were encountered: