Re: Pipeline: stash includes with git directory

2016-06-21 Thread Antonio Muñiz
This should work: node { git 'your_repo_url' stash name: 'repo', useDefaultExcludes: false } node { ws { unstash 'repo' sh 'ls -la' } } The `ws` step is just to unstash in a clean directory, it's not really necessary. On Thu, Jun 16, 2016 at 2:25 PM, Sverre Moe

Re: Pipeline: stash includes with git directory

2016-06-16 Thread Sverre Moe
I found I could use useDefaultExcludes=false with stash stash includes: '**/*', name: 'root', useDefaultExcludes: false Will stash the entire git repository However it fails after trying to unstash java.io.IOException: remote file operation failed: /home/build/jenkins/workspace/projectA/master a