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:
Post a Comment