[JIRA] (JENKINS-61869) Prune tags during fetch shown incorrectly in pipeline syntax generator

10 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 12:21:02 PM4/10/20
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Bug JENKINS-61869
Prune tags during fetch shown incorrectly in pipeline syntax generator
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2020-04-10 16:20
Priority: Major Major
Reporter: Mark Waite

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 12:22:03 PM4/10/20
to jenkinsc...@googlegroups.com

nfalco79@hotmail.com (JIRA)

unread,
Apr 10, 2020, 1:37:03 PM4/10/20
to jenkinsc...@googlegroups.com
Nikolas Falco started work on Bug JENKINS-61869
 
Change By: Nikolas Falco
Status: Open In Progress

nfalco79@hotmail.com (JIRA)

unread,
Apr 10, 2020, 1:41:04 PM4/10/20
to jenkinsc...@googlegroups.com
Nikolas Falco commented on Bug JENKINS-61869
 
Re: Prune tags during fetch shown incorrectly in pipeline syntax generator

A getter method is missing to make the pipeline sysntax works correctly.

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 10, 2020, 1:44:03 PM4/10/20
to jenkinsc...@googlegroups.com

nfalco79@hotmail.com (JIRA)

unread,
Apr 10, 2020, 2:46:02 PM4/10/20
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Apr 19, 2020, 8:11:02 AM4/19/20
to jenkinsc...@googlegroups.com
Change By: Mark Waite
Status: In Review Fixed but Unreleased
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages