| 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 ...>' |