Keep moving, or you will get fired? Who is going to hire someone who keeps switching jobs constantly? I'm sure you will be modded to +5 Insightful though.
You obviously haven't been keeping an eye on the job market. There are plenty of places who are looking for 6-12 month contracts to get some new site up and running, or to staff up for some new initiative that may last a couple years then who knows. I've never stayed at any IT job for longer than 3 years, and I have never once had a single hiring manager bring that up as a negative.
The ones you want to work for understand how the market is these days. And believe me, it's a seller's market. Companies are dying to find good IT talent. They realize that "global sourcing" is more like "you get what you pay for" and they want good help quickly. They can't promise they'll still have that need 5 years from now -- who can? -- and don't want to waste each others' time pretending that's not the case.
Even if you did stay at the same place for years, you wouldn't earn what you're worth. They'll pay the new guys a lot more than your yearly increase. So work the system to your favor, and always be the new guy.
This. I was at a company for just over three years, took their lowball offer because at the time I NEEDED a job. But after 3 years in they were still the cheap ass stingy company that hired me and refused to give me any kind of raise or path to higher paying positions. So I found a new job that gave me a 30% raise. The new job wasn't exactly what was explained to me when I was hired, so 10 months into this job I found another one that was. Took another 15% raise from that point. I'm now earning over $40,000 more per year than I was at the original company. All within 1 year of moving on from their cheap asses. Moving can be very beneficial if done right and at the right times.