我没有发现任何例子
这是脚本管道的工作方式:
rtMaven.deployer.addProperty("status", "in-qa")
rtMavenDeployer是否具有“属性”及其仅列表?:https://jenkins.io/doc/pipeline/steps/artifactory/#rtmavendeployer-set-maven-deployer
rtMavenDeployer (
id: 'deployer-unique-id',
properties: ????,
serverId: 'my-server',
releaseRepo: 'myrepo',
snapshotRepo: 'myrepo'
)
答案 0 :(得分:1)
它是[[key1 = value1“,” key2 = value2“]形式的属性列表。
rtMavenDeployer (
id: 'deployer-unique-id',
properties: ["key1=value1", "key2=value2"],
serverId: 'my-server',
releaseRepo: 'myrepo',
snapshotRepo: 'myrepo'
)