localization-zh-cn-plugin icon indicating copy to clipboard operation
localization-zh-cn-plugin copied to clipboard

/jenkins/chinese/ page should tell user hit the '使用' button first.

Open martinliu opened this issue 4 years ago • 2 comments

Hi team,

On top of this page, the user better to see something first then others:

  1. Who should care about this page? A Jenkins admin who have a deployment inside China mainland network.
  2. Why change update center URL? If anyone experience slow plug-in downloading, or ever failed to install and update any plug-in, that was just I had yesterday night.
  3. What steps need to take? and how to verify result.

My yesterday story:

  • 我看到了右下角的链接了,但是没有意识到这个和我替换 update center url 的工作有任何关系
  • 我第一次点击这个链接后,看到的页面是中文社区的介绍,并没有意思到一定要点“使用”这个按钮,由于我在/jenkins/pluginManager/advanced 提交过多个国内镜像,都没有生效,即使看到 https://updates.jenkins-zh.cn/update-center.json 网址,心中也是绝望的
  • 我在网上搜了其它的 hacke 方法,但是还是不生效
  • 今天我在此点进去,点了 ‘使用’ 按钮,然后抱着怀疑的态度,再去升级插件,由于我必须要升级了,才发现提速了,我才意识到 ‘使用’ 按钮必须要点。

其实我看到网上关于这个用法的文章了,可是还是没有立刻 Get 到这个用法。

修改建议:

  • 把使用的这个按钮修改一下,将‘使用’ 改为 ‘修改成国内插件更新服务器’
  • 将这个按钮放到 jenkins/chinese/ 的最上面的一行
  • 提示:如果你体验到插件下载缓慢,更新失败的情况了,请点击上面的这个按钮试试。
  • 在下面做详细的解释,依次回答我问的 who why what
  • 在最后一段描述:这个 update date 替换的功能是 Jenkins 中文团队维护的,希望这个优化对你有帮助。Jenkins 中文团队是。。。。简介。。。。如何联系和加入我们。。。。否则请关注我们的社区。。。。
  • 专门做一个优化 /jenkins/pluginManager/advanced 这个页面的插件,任何 Jenkins 服务可以手工指定离他们近的 update center,提供不同大洲和特殊国家的推荐 URL

Thanks you all!

Martin Liu

martinliu avatar Mar 16 '20 05:03 martinliu

非常感谢您给出的建议。之前给出的方案也有很多不妥的地方,如果能在插件的高级页面增加对应配置的话,用户会更加容易使用。 另外,我们做了一些其他的优化,也可以了解下。例如,通过下面的命令即可快速地启用国内镜像源: jcli center mirror 检查更新插件:jcli plugin check

see more https://github.com/jenkins-zh/jenkins-cli/

LinuxSuRen avatar Mar 16 '20 13:03 LinuxSuRen

这个命令行非常好,我们先有效换源即可。而且优化一下这个页面代价也不高。

martinliu avatar Mar 16 '20 14:03 martinliu