dingtalk_notice_push plugin
部分功能参考自 fastlane-plugin-ding-talk by gaoxiang
新增了is_at_all、at_mobiles和at_user_ids功能
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-dingtalk_notice_push
, add it to your project by running:
fastlane add_plugin dingtalk_notice_push
About dingtalk_notice_push
dingtalk_notice_push
Note to author: Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
Example
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
ding_talk_notice(
api_key: "xxx", # 蒲公英用户api_key
app_key: "xxx", # 蒲公英应用app_key
access_token: "xxx", # 钉钉机器人access_token
is_at_all: true, # 是否@所有人
at_mobiles: ["xxx"], # @手机号 消息内容text内要带上"@手机号",跟atMobiles参数结合使用,才有@效果
at_user_ids: ["xxx"],# @用户ID 消息内容content中要带上"@用户的userid",跟atUserIds参数结合使用,才有@效果
markdown_desc: "### App安装二维码") # 二维码描述(markdown格式)
Note to author: Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
Run tests for this plugin
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
Issues and Feedback
For any other issues and feedback about this plugin, please submit it to this repository.
Troubleshooting
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
Using fastlane Plugins
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
About fastlane
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.