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

Cloning workspace loses hidden files/directories

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Linux

      I upgraded to Jenkins 1.456 today, and now my jobs that use the Clone Workspace plugin are having problems because the workspace tar.gz that is created when the job completes no longer includes the .git directory. In 1.449, which I ended up downgrading back to, the default setting for files to include always pulls that in. I've verified this by running tar -tzf on the workspace.tar.gz; in 1.449 .git is there, in 1.456 it isn't.

      I wasn't able to force Jenkins to include it either. I tried putting "**/, **/.git" and other variations on that in the list of files to include, but none of them seemed to work.

          [JENKINS-13165] Cloning workspace loses hidden files/directories

          Owen Mehegan created issue -
          Owen Mehegan made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-14355 [ JENKINS-14355 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-13888 [ JENKINS-13888 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-14900 [ JENKINS-14900 ]
          Dave Hunt made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143629 ] New: JNJira + In-Review [ 190649 ]
          Marcin Cieślak made changes -
          Link New: This issue is related to JENKINS-7999 [ JENKINS-7999 ]

            kohsuke Kohsuke Kawaguchi
            owenmehegan Owen Mehegan
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: