
参考内容
https://www.pgyer.com/doc/view/jenkins_plugin
jenkins使用插件
- Upload to pgyer
- set build description
注意事项
可能会存在不显示二维码图片的问题
解决方案:Manage Jenkins -> Configure Global Security,将Markup Formatter的设置更改为Safe HTML即可
显示二维码到打包信息中

设置显示二维码信息
Manage Jenkins -> Configure Global Security,将Markup Formatter的设置更改为Safe HTML即可。
优化
在使用的过程中,发现二维码更新不及时,通过查看日志发现,可以直接使用变量值即可:

网友评论