-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
561 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.iml | ||
.idea | ||
target | ||
work |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# 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. | ||
|
||
## 使用说明 | ||
|
||
需要做如下准备: | ||
|
||
1. 基于WebQQ协议,[Mojo-Webqq](https://github.com/sjdy521/Mojo-Webqq),运行openqq模块。 | ||
2. (可选)Jenkins插件编写基础。 | ||
3. 安装NotifyQQ插件,在job配置界面设置需要通知的QQ号,支持群号和个人号。 | ||
4. 注意:该插件依赖[Mojo-Webqq](https://github.com/sjdy521/Mojo-Webqq)的运行,否则不能正常工作。 | ||
5. 使用Maven构建,即`mvn hpi:hpi`最终输出`NotifyQQ.hpi`、`NotifyQQ.jar`文件,在Jenkins插件列表中安装`NotifyQQ.hpi`即可。 | ||
## Screenshots | ||
|
||
* Jenkins配置 | ||
|
||
![](Screenshots/1.png) | ||
|
||
* NotifyQQ插件配置 | ||
|
||
![](Screenshots/2.png) | ||
|
||
* NotifyQQ插件输出 | ||
|
||
![](Screenshots/3.png) | ||
|
||
* NotifyQQ插件QQ群消息输出 | ||
|
||
![](Screenshots/4.png) | ||
|
||
* NotifyQQ插件QQ个人消息输出 | ||
|
||
![](Screenshots/5.png) | ||
|
||
|
||
## 参考资料 | ||
|
||
https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial | ||
|
||
https://wiki.jenkins-ci.org/display/JENKINS/Extend+Jenkins | ||
|
||
|
||
## 感谢 | ||
|
||
感谢[go3k](https://github.com/go3k)给了我灵感,该项目基于[go3k](https://github.com/go3k)的[NotifyQQ](https://github.com/go3k/NotifyQQ)项目修改而来。最后感谢[灰灰](https://github.com/sjdy521)缔造了开源项目[Mojo-Webqq](https://github.com/sjdy521/Mojo-Webqq)并为此带来了便利。 | ||
|
||
|
||
|
||
## 与我联系 | ||
|
||
* QQ:*184675420* | ||
|
||
* Email:*sxyx2008#gmail.com*(#替换为@) | ||
|
||
* HomePage:*[aimeizi.net](http://aimeizi.net)* | ||
|
||
* Weibo:*[http://weibo.com/qq184675420](http://weibo.com/qq184675420)*(荧星诉语) | ||
|
||
* Twitter:*[https://twitter.com/sxyx2008](https://twitter.com/sxyx2008)* | ||
|
||
|
||
# License | ||
|
||
MIT | ||
|
||
Copyright (c) 2016 aimeizi |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<version>1.580.1</version> | ||
<relativePath/> | ||
</parent> | ||
<groupId>net.aimeizi</groupId> | ||
<artifactId>NotifyQQ</artifactId> | ||
<version>1.0</version> | ||
<packaging>hpi</packaging> | ||
|
||
<name>NotifyQQ</name> | ||
<description>This plugin can notify build result to QQ!</description> | ||
<url>https://wiki.jenkins-ci.org/display/JENKINS/TODO+Plugin</url> | ||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>http://opensource.org/licenses/MIT</url> | ||
</license> | ||
</licenses> | ||
|
||
<repositories> | ||
<repository> | ||
<id>repo.jenkins-ci.org</id> | ||
<url>http://repo.jenkins-ci.org/public/</url> | ||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>repo.jenkins-ci.org</id> | ||
<url>http://repo.jenkins-ci.org/public/</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpasyncclient</artifactId> | ||
<version>4.1</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
Oops, something went wrong.