Hi CCNet checks every X amount of time (interval trigger) if there are any modifications --> if found, the source will be get and the build will be done
the log is updated because of the check for modifications if this throws an error, there is a problem with your setup / environment ° wrong user name / password for vss ° no connection to vss database ° ... with kind regards Ruben Willems On Wed, Aug 5, 2009 at 9:51 AM, Snehal Shah <[email protected]> wrote: > Hi > Thanks for your reply. > I am not able to run command given by you. > Here in CCnet.config file, <intervalTrigger seconds="60"/>.So pls confirm > me following points. > 1. Even if No one is modifying any project file in VSS,why it is generating > logs.As we have condition that Cruise control will run only when > "IfModificationExists" is true. > 2.Does Cruisecontrol Log in VSS and Logs Out VSS every 1 Minute?Is so,Which > account - Uid/Password it uses?And from where I can get this Userid/password > details that cruisecontrol uses ? > > Thanks!! > Snehal Shah > > > > > > On Wed, Aug 5, 2009 at 8:07 AM, Craig & Sammi Sutherland < > [email protected]> wrote: > >> >> The problem is your source control block is getting an exception while >> checking for any exceptions. >> >> Try running the command " C:\Program Files\Visual Source Safe\win32\SS.EXE >> history $/Slice.PMO.ProjectRequest/src -R -Vd8/4/2009;8:09a~8/4/2009;8:08a >> -YProjectRequestBuildUser, -I-Y" from the command using the same account >> that your CC.NET instance is using and see what it is giving as a result. >> >> >> Craig >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On >> Behalf Of Snehal Shah >> Sent: Wednesday, 5 August 2009 4:05 a.m. >> To: ccnet-user >> Subject: [ccnet-user] CruiseControl generting Log >> >> >> Hello >> >> We have VSS where multiple projects are located,Cruisecontrol is >> responsible for building more then one application from VSS.The >> problem is that we Cruisecontrol is generating log files in >> "BuildLog" folder a every 1 minutes even we are not changing any file >> in VSS.I want to stop this. >> >> I am providing exception from log file and also CCNet.config file >> attributes. >> >> Here,In config file we have not set "ForceBuild" option,It is based on >> "IfModificationExists" Condition. >> >> <triggers> >> <intervalTrigger seconds="60"/> >> </triggers> >> >> >> Log File Error:- >> <cruisecontrol project="ProjectRequestSystem"> >> <modifications /> >> <build date="8/4/2009 8:09:49 AM" buildtime="00:00:00" >> buildcondition="IfModificationExists" /> >> <exception><![CDATA >> [ThoughtWorks.CruiseControl.Core.CruiseControlException: Source >> control operation failed: . Process command: C:\Program Files\Visual >> Source Safe\win32\SS.EXE history $/Slice.PMO.ProjectRequest/src -R - >> Vd8/4/2009;8:09a~8/4/2009;8:08a -YProjectRequestBuildUser, -I-Y >> at >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute >> (ProcessInfo processInfo) >> at >> >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.GetModifi >> cations >> (ProcessInfo info, DateTime from, DateTime to) >> at >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vss.GetModifications >> (IIntegrationResult from, IIntegrationResult to) >> at >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications >> (ISourceControl sourceControl, IIntegrationResult lastBuild, >> IIntegrationResult thisBuild) >> at ThoughtWorks.CruiseControl.Core.IntegrationRunner.RunIntegration >> (BuildCondition buildCondition)]]></exception> >> </cruisecontrol> >> >> >> Appreciate if you provide any input. >> >> >> >> >
