I have write a drone plugin https://github.com/lizheming/drone-telegram-node . It’s a telegram plugin for drone made by node.
I know there has appleboy/drone-telegram in market, but it can’t config telegram api proxy url. So I write this similar plugin with node.js.
as README.md write, I run plugin with docker run, it runs well.
docker run --rm \ -e PLUGIN_TOKEN=xxxxxxx \ -e PLUGIN_TO=xxxxxxx \ -e PLUGIN_MESSAGE=test \ -e PLUGIN_BASE_API_URL=xxxx \ lizheming/drone-telegram-node
Everything looks be ok. But when I add it into .drone.yml pipline, it runs nothing happen. Here is my simple .drone.yml file:
pipeline: telegram: image: lizheming/drone-telegram-node:latest token: xxxxx to: xxxxx base_api_url: xxxxx message: hello
Documentation tell us we can use docker run to debug, but it doesn’t work for me now. What problem I missed? And how can I get plugin output in
drone exec progress?