Wednesday, December 9, 2009

Bye bye CruiseControl.net Hello Hudson

I've been around the CruiseControl.net for my team's CI env, now I turned aound to brand-new(?) tool , called 'Hudson'. Unlike CruiseControl, It provides many user-friendly configuration web pages(I installed it into humble windows xp box with apache server running). It just worked without doing RFM that much.



Except one thing.. please be noted that Hudson itself actually runs as service in Windows, and it's account is Administrator by default. So I changed the account as the real user(poweruser of course) to see any network drives env. built up under that account, but failed.  This is because I wanna upload zipped software packages into one of our samba server but even with hudson ftp plug-in, I failed to upload files.(timeout error! ??)

Now I just use windows batch script command as one of build steps, and make it read like ...


net use k: \\release-pc\maven\somedir
xcopy trunk\*.zip k:\
del /q trunk\*.zip
dir k:
net use k: /delete

and.. it worked.

EOF

0 comments:

My twittering