MESA, Ariz. — Jimmy Rollins finishing his career across the bay from his hometown would have been a nice story. The spirit was willing. So was the glove. The bat was weak.

Though the Giants made no formal announcement, they apparently told the 38-year-old who was the 2007 NL Most Valuable Player that he was not going to make the team.

Signs pointed toward fellow spring invitee Aaron Hill getting the job for which they competed.

“We talked to Jimmy,” manager Bruce Bochy said Tuesday before the Giants boarded buses for the airport and their trip north. “He knows the situation, and we’re waiting to hear back from him.”

Which means the Giants apparently offered Rollins a chance to play in this weekend’s Bay Bridge Series games in San Francisco and Oakland, with Saturday’s final game a stone’s throw from where he grew up in Alameda.

Rollins showed he still could play shortstop and looked better at second base than even might have been predicted. But he made virtually no hard contact during the spring games and had only three hits until he hit two doubles against the Reds on Monday.

Hill was headed for the team flight, which is significant because he survived a Tuesday deadline to be cut or paid a $100,000 retention bonus for agreeing not to opt out of his minor-league contract. If Hill was not going to make the team, he and the Giants probably would have parted ways ahead of that deadline.

Hill did not have a great spring offensively, either, but he showed flashes of gap power, proved himself adept at third, short and second, and showed he could play left field if needed.

Marrero blast: Outfield candidate Chris Marrero is squarely in the race for a roster spot. How could he not be after hitting is third ninth-inning, game-winning homer Tuesday. The Giants were down 7-5 in the ninth before he hit a three-run no-doubter against Cubs prospect Pierce Johnson, his eighth of the spring, including one against Puerto Rico.

Bochy said Marrero will play some left field in the Bay Bridge games.

“It’s been a great spring for him. It seems fitting he’d do something like that,” Bochy said. “The kid has done all he can do to be on the club. I love his swing and his attitude and the work he put in.”

Briefly: Former Giants Matt Williams and Cody Ross have been hired to do pregame and postgame studio appearances for the club’s TV network. … Eduardo Nuñez played catch from about 150 feet, showing no apparent discomfort in his throwing shoulder. Bochy said Nuñez will play third base and shortstop this weekend. … Denard Span homered off Jake Arrieta to lead off Tuesday’s game. Next time up, Span bunted for a hit, stole second and then scored from there on a wild pitch.

Henry Schulman is a San Francisco Chronicle staff writer.

Giants 10, Cubs 7

Notable: The Giants hit three homers in the ninth and came from behind for a win that ended their Arizona schedule at 17-16, counting the game against the Puerto Rican World Baseball Classic team. Chris Marrero’s three-run homer against Pierce Johnson gave the Giants the lead. Justin Ruggiano and Tim Federowicz hit solo homers. … Lefty reliever Josh Osich picked a bad time to struggle. In a four-run sixth, he let three straight left-handed hitters reach base, on a single, double and walk. … The Giants jumped Jake Arrieta for three runs in the first two innings.

Quotable: “He’s been 30 the last seven years.”

— Madison Bumgarner, asked why the team did not sing “Happy Birthday” to Buster Posey on his milestone day.

Wednesday: Off

— Henry Schulman