-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
Git plugin 4.3.0 - June 19, 2020
JENKINS-40529 added support to optionally prune tags during the fetch operation. Unfortunately, the trait that has been added does not render correctly in the pipeline syntax generator.
It is shown as:
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [<object of type hudson.plugins.git.extensions.impl.PruneStaleTag>], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[]]])
Other extensions are correctly rendered like this:
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'PruneStaleBranch']], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[]]])
Note that the $class: PruneStaleBranch is shown as an extension instead of '<object of type ...>'
- blocks
-
JENKINS-40529 Prune tags on fetch
- Closed
- is related to
-
JENKINS-61871 Prune stale tags does not prune stale tags in my docker test
- Closed
- links to