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

Cloning workspace loses hidden files/directories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      Linux
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: