pipeline {
agent any // 指定执行机器,any 表示任何可用的 Jenkins 节点
parameters {
gitParameter name: 'BRANCH_NAME', type: 'PT_BRANCH', defaultValue: 'master', branchFilter: 'origin/(.*)'
}
stages {
// 定义阶段
stage
jenkins集成jacoco使用流水线脚本
最新推荐文章于 2024-12-11 20:02:47 发布