[JIRA] (JENKINS-59622) Sparse checkout definition change not applied to workspace

5 views
Skip to first unread message

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

unread,
Oct 3, 2019, 11:33:04 AM10/3/19
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
 
Jenkins / Bug JENKINS-59622
Sparse checkout definition change not applied to workspace
Change By: Mark Waite
Summary: Jenkins workspace can Sparse checkout definition change not be updated automatically applied to workspace
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

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

unread,
Oct 3, 2019, 11:35:03 AM10/3/19
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-59622
 
Re: Sparse checkout definition change not applied to workspace

The git plugin does not apply changes to the sparse checkout definition to the workspace.

A workaround in Pipeline is to use deleteDir() in the Jenkinsfile when making this type of structural change. The workspace will be removed by the call to deleteDir() and then the currently defined sparse checkout will be applied to the fresh checkout.

Reply all
Reply to author
Forward
0 new messages