Hi 'best practises' are always a hard point. They all depend on the what one wants.
For 1) I also use a Nant script that calls msbuild for the compile. I once tried to do it totally in MSbuild format, but just gave up, I was used on Nant and how msbuild passes things around, I do not grasp :-( What do you mean with : <quote> I'm actually using a nant script that calls msbuild. This works, but I only see dashboard output when the compile fails. And its ugly too.) </quote> you do not see the build progress? 2) I call nunit from my nant script, so I can also use the same script on my Dev machine. 3) See 2 :-D 4) Nant has zipping build in, I do not know for msbuild but I guess it does ==> basically I have a nant build script that compiles, runs nunit, zips, copies to other machines, ... and use this script on my dev box and on the build server. with kind regards Ruben Willems On Sun, Jan 10, 2010 at 10:23 AM, Rex <[email protected]> wrote: > I've finally got my first ccnet project running with everything I > wanted it to do (plus a couple of side effects since I'm new to this) > > I haven't found anything that talks about best practices in ccnet. > What would the best way for a new user to do these tasks: > > 1. Compile and have the output shown on the dashboard. Is nant or > msbuild best? > (I'm actually using a nant script that calls msbuild. This works, but > I only see dashboard output when the compile fails. And its ugly too.) > > 2. Run unit tests and have the output shown on the dashboard. Should > I use the ccnet nuit2 task, or call nunit in the script used in the > compile step #1 above? (I'm using my nant script to run the tests. > This does show the output in the dashboard.) > > 3. Have a script that does #1 and #2 above that can be run by ccnet, > and locally as a pre check-in test (ie if the script fails locally > then you are not allowed to check in). Does this affect the choice > between nant and msbuild? > > 4. Zip and archive files if tests pass. I didnt see any ccnet zip > task, so I guess this must be done in the nant or msbuild script from > #1? > > Thanks, > > Rex > >
