On 9/11/2014 11:10pm, Andrus Adamchik wrote:
>> In jenkins we should not need to clean
> We absolutely need "clean". It removes "target" dirs in each module, and 
> hence this is the only way to remove the previous build.

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).

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.

Ari


-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to