Re: No Modifications after failed build

Christian Baumann <[email protected]> Fri, 27 Apr 2012 16:40:17 +0200
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> The first time we build a project in CruiseControl it fails due to a locked CVS password. (Lock password is
> unrelated to CruiseControl)  We then unlock the account and the project builds successfully.
I guess you have set buildafterfailed to false? http://cruisecontrol.sourceforge.net/main/configxml.html#project

If so, change it to true. See line 414 in http://kickjava.com/src/net/sourceforge/cruisecontrol/Project.java.htm -
checkOnlySinceLastBuild will return false, whenever buildafterfailed is set to true (the default). Knowing that
checkOnlySinceLastBuild yields false, take a look at lines 368 to 375 in
http://kickjava.com/src/net/sourceforge/cruisecontrol/Project.java.htm
The else clause gets evaluated, making your sourcecontrol querying for modifications since the last successful build.

Hope that helped!
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPmq/RAAoJEO2IMhqLUlJK8SgIAMnMtsIGZv+pBApA35056PDr
841nlITQwjBdcj2tpU2zhRhpNHdzgpUYfZu41CogUdUbNEfIinx2uVvsoBGn/pZA
YVZxa0H1376drRa2XVdvzohzJ7/q6tq3ZFBk5fetoecXa1mE6/iUxeZXGXV3mV1J
GhkjNaMzBGk2/eXvpx2MlSikk5mmYDVDNUGWaxNDGBuSNYOBj7kPqrvukls505wz
LT3ZtzCIgKnpna5S4oO7oMV/o27k2WopRXoLR93ZI0Rwlx4E4iBWD/4Ip7+y6f9Q
lx2cJDJM8CAfxDrbH/WXojD7wxp9yxZnFL4EMfUV5EP3ovCQRG0dp9IJOtSq4DM=
=Yk5M
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/