Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
liying2008 committed Jul 16, 2019
1 parent 1d5decd commit cf8ae97
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 9 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@



一款能够极大地提高使用 **Jenkins** 的工作效率的 **Chrome浏览器扩展程序**
一款能够极大地提高工作效率的 **Chrome浏览器扩展程序**

## 下载地址

Expand All @@ -18,22 +18,23 @@ https://chrome.google.com/webstore/detail/jenkins-helper/lkjoiakaidioklnfdejmnoe

该扩展程序可以:

1. **Job 监控**: 监控 Jenkins Job 的构建状态,构建完毕后显示通知。
1. **Job 监控**: 监控 Jenkins Job 的构建状态,构建完毕后显示通知。提供“监视器”界面,可以随时查看所关注的 Job 的构建状态。提供筛选功能,可根据构建结果筛选 Job。

![Monitor](screenshots/monitor.png)

> 注意:状态更新的频率以及通知频率可以在设置页更改。默认是60s更新一次状态,每次构建结束显示通知。

2. **构建参数查看**在 每一个 Build 页面及其子页面下可方便快速查看构建信息以及构建参数。
2. **构建参数查看**在每一个 Build 页面及其子页面下可方便快速查看构建信息以及构建参数。并提供查看上一次/下一次构建参数的按钮,可直接下载完整的构建日志到本地

![Parameters](screenshots/params.png)

> 注意:只有在构建页面及其子页面下才有数据,如:`http://127.0.0.1:8080/jenkins/job/Pipeline2/4/` 是构建页面,`http://127.0.0.1:8080/jenkins/job/Pipeline2/4/console` 是子页面。
> 支持 Pipeline 的 Blue Ocean 页面。
> 注意:只有在构建页面及其子页面下才有数据,其他页面显示 “**No Data**”。 如:`http://127.0.0.1:8080/jenkins/job/Pipeline2/4/` 是构建页面,`http://127.0.0.1:8080/jenkins/job/Pipeline2/4/console` 是子页面。
> **支持 Blue Ocean 页面**
3. **节点磁盘空间监控**: 监控 Jenkins 节点的磁盘空间大小,如果节点剩余空间大小小于或等于给定的阈值,则弹框告警。

3. **节点磁盘空间监控**: 监控 Jenkins 节点的磁盘空间大小,如果节点剩余空间大小小于或等于给定的阈值,则弹框告警。并提供“监视器”页面,可随时查看节点的剩余空间大小。

![Node Monitor](screenshots/node_monitor.png)

Expand All @@ -52,7 +53,15 @@ https://chrome.google.com/webstore/detail/jenkins-helper/lkjoiakaidioklnfdejmnoe

> 注意:使用此功能需要提前在设置页配置好 **Job 统计设置(Job Statistics Settings)**
6. **自定义设置**: 可以针对自己的独特需求进行一些个性化的设置。
6. **参数暂存与恢复**: 在 **Build/Rebuild** 页面底部会生成两个按钮,分别是 **Stash Parameters****Recover Parameters**,点击 **Stash Parameters** 可以将当前页面填写的参数值保存起来,点击 **Recover Parameters** 可以将上次保存的参数值恢复到当前页面。

![Params Stash And Recover](screenshots/params_stash_and_recover.png)

> 注意:每一次新保存的参数都会将之前保存的参数覆盖掉,即 **Stash Parameters** 只会保存**一份**参数值。
> 支持 跨Job、跨Jenkins 使用,即 A Job 保存的参数可以恢复给 B Job 。

7. **自定义设置**: 可以针对自己的独特需求进行一些个性化的设置。

![Settings](screenshots/settings.png)

Expand All @@ -61,7 +70,7 @@ https://chrome.google.com/webstore/detail/jenkins-helper/lkjoiakaidioklnfdejmnoe

## Tips

1. 为了让该扩展可以顺利访问 Jenkins API 而不依赖用户登录,建议在设置界面配置 Jenkins 的 API Token ,如下图所示:
1. 为了让该扩展可以顺利访问 Jenkins API 而不依赖用户在 Jenkins 网站的登录状态,建议在设置界面配置 Jenkins 的 API Token ,如下图所示:

![Jenkins Token Settings](screenshots/jenkins_token_settings.png)

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "__MSG_extDesc__",
"author": "LiYing",
"homepage_url": "https://github.com/liying2008/jenkins-helper",
"version": "1.2.0",
"version": "2.0.0",
"minimum_chrome_version": "45",
"default_locale": "en",
"omnibox": {
Expand Down
Binary file modified screenshots/jenkins_token_settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/monitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/node_monitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/params.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/params_stash_and_recover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions sn.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ LANGUAGE=en google-chrome

WINDOWS:
chrome.exe --lang=en

note:
经测试,Windows上通过加--lang参数启动Chrome并未更改Chrome语言,不过可以通过Chrome设置来更改默认语言。

0 comments on commit cf8ae97

Please sign in to comment.