更新git插件后,Jenkins管道出现错误。
groovy.lang.MissingPropertyException: No such property: Artifactory for class: groovy.lang.Binding
我的Jenkins管道代码:
stage ('Deploy Artifact') {
def server = Artifactory.server "Default Artifactory Server"
def buildInfo = Artifactory.newBuildInfo()
buildInfo.env.capture = true
buildInfo.env.collect()
def uploadSpec = """{
Artifactory版本2.14.0
Jenkins版本:2.73.2
请给我一个建议!谢谢。