便捷的Jenkins jswidgets

很多时候我们在构建完成之后需要查看构建的状态,类似github 中的build Status

插件安装

  • 搜索插件

  • 使用

目前好像只支持自由项目的构建

  • 代码集成
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div>use with js </div>
<script type="text/javascript" src="http://jenkinsserver:8080/view/%E6%B5%8B%E8%AF%95jenkins%E9%A1%B9%E7%9B%AE/job/webappdemo/jswidgets/health?skipDescription=true"></script>
</body>
</html>
  • html 页面效果

参考资料

https://plugins.jenkins.io/jswidgets

posted on 2018-06-08 13:15  荣锋亮  阅读(192)  评论(0编辑  收藏  举报

导航