> On Nov 10, 2014, at 3:53 AM, Aristedes Maniatis <a...@maniatis.org> wrote:
> 
> Perhaps this is a difference between git and svn in Jenkins. I am certain 
> that Jenkins did a "svn revert" and other things to discard all files not in 
> svn (including the target folders).

"target" is usually in ignores in both SVN and Git (which is certainly the case 
with Cayenne). So it stays there no matter what.

> But the Jenkins git plugin has slightly different behaviour and I just now 
> enabled the option to "clean the workspace after checkout". That goes one 
> step further than just 'mvn clean' to ensure the repo is completely the same 
> as a fresh checkout. Hopefully that helps.

By "repo" you mean local checkout or a local Maven repo? I guess that's the 
former. Probably won't see much difference with clean, but probably a good idea 
anyways.

Andrus

Reply via email to