jenkins Pipeline 脚本
#!groovypipeline { //在任何可用的代理上执行Pipeline agent any //参数化变量,目前只支持[booleanParam, choice, credentials, file, text, password, run, string]这几种参数类型,其他高级参数化类型还需等待社区支持。 parameters { //git代码路径【参数值对外隐藏】 string(name:'repoUrl', defaultValue: .
原创
2020-05-09 10:07:30 ·
355 阅读 ·
0 评论