Closed liu-weihao closed 4 years ago
I think you are not using the latest plugin version, referenced line 112 doesn't match today's code.
I think you are not using the latest plugin version, referenced line 112 doesn't match today's code.
i cannot find any more images at Docker Hub. u mean building from source code by myself, right?
Are you sure you are using really latest? You have defined if-not-exists which doesn't update the slack plugin.
Beside that you are missing more information like which source provider is used to check if this is simply missing an important value.
i am defintely sure i am using the latest plugins/slack
.
Here is a .drone.yml
file below:
kind: pipeline
type: docker
name: mol-i18n
clone:
disable: true
steps:
- name: clone
image: alpine/git
pull: if-not-exists
commands:
- git config --global http.sslVerify "false"
- git clone https://$${username}:$${password}@git.pm.bwoilmarine.com/${DRONE_REPO} .
- git checkout $DRONE_COMMIT
- name: prenotify
image: plugins/slack
pull: always
settings:
webhook: https://hooks.slack.com/services/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
channel: working_topic
username: ${DRONE_COMMIT_AUTHOR}
template: >
Hi, I am starting <{{build.link}}|build#{{build.number}}> at <https://git.pm.bwoilmarine.com/${DRONE_REPO}|{{repo.name}}> due to {{build.event}}. DO NOT repeat that again untill its completion.
You still don't provide all relevant information.
I've run into the exact same error unfortunately...
Just try it again, I have merged https://github.com/drone-plugins/drone-slack/pull/108 2 hours ago.
when i create tag and push:
step config below:
error logs below:
if i commit, not tag, everything goes well. e.g: