Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13888

Please override new Ant default excludes when cloning workspaces, so .git/.gitignore and other files are not lost during cloning

    Details

    • Similar Issues:

      Description

      The fix for JENKINS-13165 seems to have been to create a hook that plugins can use to optionally override the new (@#$!@$) Ant default excludes, which now include .git/.gitignore, etc. I would like for the Clone Workspace plugin to override these defaults, or at least give me a check box to do that.

      To reproduce the problem, create a job which touches a file named .gitignore, and publish that job's workspace for archiving. Then create another job which pulls over that archive and does an 'ls -la' in it. The .gitignore file won't be there.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pom.xml
            src/main/java/hudson/plugins/cloneworkspace/CloneWorkspacePublisher.java
            src/main/resources/hudson/plugins/cloneworkspace/CloneWorkspacePublisher/config.jelly
            src/test/java/hudson/plugins/cloneworkspace/CloneWorkspaceSCMTest.java
            http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/0bfecdad2fddc44c43b96f88ed373ab225e330e6
            Log:
            [FIXED JENKINS-13888] Add option to turn off default Ant excludes from workspace archive.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/main/java/hudson/plugins/cloneworkspace/CloneWorkspacePublisher.java src/main/resources/hudson/plugins/cloneworkspace/CloneWorkspacePublisher/config.jelly src/test/java/hudson/plugins/cloneworkspace/CloneWorkspaceSCMTest.java http://jenkins-ci.org/commit/jenkins-clone-workspace-scm-plugin/0bfecdad2fddc44c43b96f88ed373ab225e330e6 Log: [FIXED JENKINS-13888] Add option to turn off default Ant excludes from workspace archive.

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                owenmehegan Owen Mehegan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: