Hi Chitech, Agreed with Jan: what you propose is a lot of work compared to my solution achieved in a few clicks...
Up to you regards didier Le samedi 24 mars 2012 11:09:34 UTC+1, chitech a écrit : > > We found a way around it. > > 1.0 Make a cron job to modify the config.xml to Clean workspace > 1.1 Call reload configuration via disk from cron job > 2.0 The hudson run the nightly builds > 3.0 Make a cron job to modify the config.xml back to emualte clean > 3.1 Call reload configuration via disk from cron job > > > > On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote: >> >> When an user schedule a build we would like to use svn check-out >> strategy: >> ‘Emulate clean checkout by first deleting unversioned/ignored files, >> then 'svn update'’ >> >> But for nightly build we would like to use this strategy: >> Clean workspace and then checkout >> >> We want this because the build time will be shorter in the daytime. >> Can we >> somehow achieve this setup? > > > On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote: >> >> When an user schedule a build we would like to use svn check-out >> strategy: >> ‘Emulate clean checkout by first deleting unversioned/ignored files, >> then 'svn update'’ >> >> But for nightly build we would like to use this strategy: >> Clean workspace and then checkout >> >> We want this because the build time will be shorter in the daytime. >> Can we >> somehow achieve this setup? > > > On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote: >> >> When an user schedule a build we would like to use svn check-out >> strategy: >> ‘Emulate clean checkout by first deleting unversioned/ignored files, >> then 'svn update'’ >> >> But for nightly build we would like to use this strategy: >> Clean workspace and then checkout >> >> We want this because the build time will be shorter in the daytime. >> Can we >> somehow achieve this setup? > > > On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote: >> >> When an user schedule a build we would like to use svn check-out >> strategy: >> ‘Emulate clean checkout by first deleting unversioned/ignored files, >> then 'svn update'’ >> >> But for nightly build we would like to use this strategy: >> Clean workspace and then checkout >> >> We want this because the build time will be shorter in the daytime. >> Can we >> somehow achieve this setup? > > > On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote: >> >> When an user schedule a build we would like to use svn check-out >> strategy: >> ‘Emulate clean checkout by first deleting unversioned/ignored files, >> then 'svn update'’ >> >> But for nightly build we would like to use this strategy: >> Clean workspace and then checkout >> >> We want this because the build time will be shorter in the daytime. >> Can we >> somehow achieve this setup? > > > On Thursday, March 22, 2012 1:34:16 PM UTC+1, chitech wrote: >> >> When an user schedule a build we would like to use svn check-out >> strategy: >> ‘Emulate clean checkout by first deleting unversioned/ignored files, >> then 'svn update'’ >> >> But for nightly build we would like to use this strategy: >> Clean workspace and then checkout >> >> We want this because the build time will be shorter in the daytime. >> Can we >> somehow achieve this setup? > >
