An energy company will build a pipeline to transport crude oil from a huge well complex inside a Colorado city before production starts, officials said Monday, easing the anxiety of nearby residents who feared noisy trucks would haul away the petroleum around the clock.