Cloning workspace loses hidden files/directories

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Owen Mehegan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: