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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Linux, Jenkins 1.465

      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.

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

          Owen Mehegan created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-13165 [ JENKINS-13165 ]
          Robert Kleinschmager made changes -
          Link New: This issue is duplicated by JENKINS-9249 [ JENKINS-9249 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144356 ] New: JNJira + In-Review [ 191049 ]

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

              Created:
              Updated:
              Resolved: