[ 
https://issues.jenkins-ci.org/browse/JENKINS-13165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160867#comment-160867
 ] 

Christoph Thelen commented on JENKINS-13165:
--------------------------------------------

I have the same problem. To reproduce it I downloaded 1.457, installed "Jenkins 
Git Plugin" and "Jenkins Clone Workspace SCM Plugin" and set up two Jobs as 
follows:

* "GitJob" using a Git repository, then archiving the workspace and triggering 
the next job.
* "CloneJob" using the previously archived workspace as SCM.

CloneJob's workspace will not contain the Git files (.git directory as well as 
all .gitignore files). Other dot-files are unaffected (eg. Eclipse .project 
files will be present). As owenmehegan stated, Git files were present in 
previous Jenkins versions.
                
> Cloning workspace loses hidden files/directories
> ------------------------------------------------
>
>                 Key: JENKINS-13165
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13165
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>         Environment: Linux
>            Reporter: owenmehegan
>            Assignee: Kohsuke Kawaguchi
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to