Remove the specified version of jenkins plugin scm-api
Signed-off-by: rick <rick@jenkins-zh.cn>
This commit is contained in:
@@ -71,7 +71,7 @@ func AppendBitbucketServerSourceToEtree(source *etree.Element, gitSource *devops
|
||||
}
|
||||
if gitSource.RegexFilter != "" {
|
||||
regexTraits := traits.CreateElement("jenkins.scm.impl.trait.RegexSCMHeadFilterTrait")
|
||||
regexTraits.CreateAttr("plugin", "scm-api@2.4.0")
|
||||
regexTraits.CreateAttr("plugin", "scm-api")
|
||||
regexTraits.CreateElement("regex").SetText(gitSource.RegexFilter)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user