-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
If a hudson project includes a username and password in the root (e.g.
:pserver:USER:PWD@host:/cvsroot). However, CVS (or at least the version we use -
CVSNT 2.5.03) does not store the password in the CVS/Root file. The comparison
between the project defined root and the root in CVS/Root
(:pserver:USER@host:/cvsroot) is therefore always false and causes project to be
refreshed completely and built every night.
Suggested solution: Only compare password if password is specified in the
CVS/Root folder.
Logging suggestion: Log the reason why isUpdatableModule() returns false. There
is absolutely no indication of why the server builds the same project over and
over again. The only way I could trace this was to actually find the message in
source code and work my way back in the code.