NotifyQQ Save

基于Mojo-WebQQ的Jenkins构建后QQ提醒插件

Project README

NotifyQQ

This is a Jenkins notify plugin, send a message to QQ when a job is finished.

I think this is a demand for Chinese only, so I will write the follow readme content in Chinese. if you want it change to English, please let me know.

使用Docker构建Mojo-Webqq

使用本项目提供的Dockerfile构建Mojo-Webqq镜像

docker build -t mojo-webqq .

运行构建好的mojo-webqq镜像

docker run -it --env MOJO_WEBQQ_LOG_ENCODING=utf8 -p 5000:5000 -v /tmp:/tmp mojo-webqq 

接下来扫码登录你懂得。

使用说明

需要做如下准备:

  1. 基于WebQQ协议,Mojo-Webqq,运行openqq模块。
  2. (可选)Jenkins插件编写基础。
  3. 安装NotifyQQ插件,在job配置界面设置需要通知的QQ号,支持群号和个人号。
  4. 注意:该插件依赖Mojo-Webqq的运行,否则不能正常工作。
  5. 使用Maven构建,即mvn compile hpi:hpi最终输出NotifyQQ.hpiNotifyQQ.jar文件,在Jenkins插件列表中安装NotifyQQ.hpi即可。

Screenshots

  • Jenkins配置

  • NotifyQQ插件配置

  • NotifyQQ插件输出

  • NotifyQQ插件QQ群消息输出

  • NotifyQQ插件QQ个人消息输出

参考资料

https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial

https://wiki.jenkins-ci.org/display/JENKINS/Extend+Jenkins

感谢

感谢go3k给了我灵感,该项目基于go3kNotifyQQ项目修改而来。最后感谢灰灰缔造了开源项目Mojo-Webqq并为此带来了便利。

与我联系

License

MIT

Copyright (c) 2016 ameizi

Open Source Agenda is not affiliated with "NotifyQQ" Project. README Source: v5tech/NotifyQQ
Stars
58
Open Issues
0
Last Commit
6 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating