Logo

Time to Synchronize...

almost 6 years ago | Karthik: Chain of Thoughts

I came across a weird situation a couple of months ago when I was setting up CruiseControl with Subversion.
There is a Subversion server on which our source code resided and I was setting up Cruise on another machine which was supposed to be our CI build machine.
Steps I followed:

  • Download and install CruiseControl
  • Do an initial checkout from the repository into the Cruise projects directory
  • Change the sample config.xml to set the build interval, repository location, publishing results etc etc.
  • To verify, force a build. (or checkin to the repository and see that it kicks off a build)
I did all this, and it worked perfectly fine and the build was successful.

But I found that later whenever some code gets checked in, cruise somehow was not picking up any modifications at all. After struggling a lot with the configurations and searching on the web I shot a mail to one of the people behind CC and quite soon, I had the answer.

There was a simple mistake that was causing Cruise to behave randomly. The problem was that the system time on the Repository server and the time on the cruise control box was not synchronized. There was some 5-6 hour difference between the two. CruiseControl checks for modifications that have happened after a given time. So if the time is not synchronized, obviously it wouldn't find modifications!

This is very important whenever CruiseControl and the Source repository are on different machines:
Make sure that the time/date on the cruise box is synchronized with the time/date on the repository box.
Btw, This may be helpful.

Pyar ka izhaar...

almost 6 years ago | Sukhpal Bhatti: life

Aaj kuchh achha likhne ko chahato ye chand lines likh daali,shayad uski bhi samajh mein aa jayejo thi ab tak na samajhne wali... wah wah... ye to intro mein bhi kavita ho gayi...:-)Ay haseen, apni aankhon kigehrayi mein utar jaane de,is jheel si duniya meindoob ke mar jaane de,mujhe saath na rakhna chahe to mat rakhmujhe apne khwabon mein to aane de,tu na aa saki meri zindagi mein to kyateri

Thought...

almost 6 years ago | Sukhpal Bhatti: life

Human mind is so limited, if we keep on thinking about what happened in the past or what will happen in the future, we will lose the control on what happens in the present...

khushi aur gam...

almost 6 years ago | Sukhpal Bhatti: life

Kya khushi kya gam Sab waqt ke khayalat hote hain, Kuchh log gam mein bhi haste hain Kuchh khushi mein bhi rote hain, Ye to bas ek nazariya hai zindagi jeene ka Varna har haal mein hum jeete hain, Kuchh daaru dil se lagate hain Kuchh aansoon apne peete hain, Jo zyada ho insaan ke paas Wo usi ke sahare firte hain, Wo jeet gaye humse khushiyaan Humne dard jahan ke jeete hain...

Kuchh dard anokhay hote hain...

almost 6 years ago | Sukhpal Bhatti: life

Jab khushiyaan daaman chhod jayeinTo pata chalta hai ke rishtay kya hote hain,Yoon to dard unchahe hain is jahan kePar kuchh dard anokhay hote hainHar mod pe pyar khota haiHar raat ke kisse hote hain,Duniya ki in rasmo meinJaane kitne dil rote hain,Kuchh sapne jab aankhon koIs chahat mein yoon milte hain,Ik sapne ke badle meinKayi aansoon bhi jalte hain,Is matlab ki andhi duniya meinHar shakhs ne

Love... (v'day'06)

almost 6 years ago | Sukhpal Bhatti: life

For every beauty there is an eye somewhere to see it. For every truth there is an ear somewhere to hear it. Same way, for every love there is a heart somewhere to receive it. Actually, Love should be selfless. I mean, if you expect something in return then it surely is not true love. It is something else which we, in a state of selfishness, perceive as Love and because it is not true love it does

Thoughts...

almost 6 years ago | Sukhpal Bhatti: life

- Life becomes harder for us when we live for others, but it also becomes richer and happier... - Those who fill colours in other's lives can not be deprived of the rainbow in their own lives...- Good judgment comes from experience, and often experience comes from bad judgment...- Perhaps the most delightful friendships are those in which there is much agreement, much disputation, and yet more

Thought...

almost 6 years ago | Sukhpal Bhatti: life

Some people does not recognise love dying for them and others die waiting for a small drop of love...

Thought...

almost 6 years ago | Sukhpal Bhatti: life

Life always remains the same and is always perfect, it is just our perception that keeps on changing...

Thought...

almost 6 years ago | Sukhpal Bhatti: life

Ambition without application is a waste of mind space...