詹金斯管道如何使用插件
jenkins pipeline how to use plugin
我刚开始使用带有 "Jenkinsfile" 的 jenkins 管道插件,我的项目的基本语言是 php,所以我使用 phpunit 等测试工具和其他工具来生成报告,在其他 jenkins 配置上,phpunit 插件读取 junit 输出格式并显示图形和统计数据非常简单。
我的问题是如何使用管道插件中的那些旧插件?
您可以检查. In short, if you want to use a specific plugin in your pipeline, you should first check if this plugin is pipeline-compatible in the official compatability list。例如,如果您使用的是 JUnit,您可以从列表中看到该插件是管道兼容的。
对于 JUnit 的使用,您可以查看文档完善的 pipeline tutorial。
我刚开始使用带有 "Jenkinsfile" 的 jenkins 管道插件,我的项目的基本语言是 php,所以我使用 phpunit 等测试工具和其他工具来生成报告,在其他 jenkins 配置上,phpunit 插件读取 junit 输出格式并显示图形和统计数据非常简单。
我的问题是如何使用管道插件中的那些旧插件?
您可以检查
对于 JUnit 的使用,您可以查看文档完善的 pipeline tutorial。