SCOTTSDALE, Ariz. -- Madison Bumgarner and Ryan Vogelsong, two-fifths of San Francisco's starting rotation, pitched two scoreless innings apiece Friday to help the Giants defeat the Milwaukee Brewers, 4-3, in a Cactus League game.

Bumgarner, the Giants' scheduled Opening Day starter, and Vogelsong, San Francisco's projected No. 5 starter, each allowed one hit and stranded a runner in scoring position.

Milwaukee ace Yovani Gallardo pitched two scoreless innings before the Giants broke through for a pair of runs in the third off right-hander Tyler Thornburg. Mark Minicozzi homered, Ehire Adrianza tripled and Angel Pagan lofted a sacrifice fly.

"I didn't think I got it, but I'll take it," Minicozzi said of his homer, indicating his doubt that he made solid contact.

Milwaukee's Caleb Gindl homered off Brett Bochy in the fifth inning to halve the difference. But the Giants added two runs in the seventh off Brewers reliever Jose De La Torre. Second baseman Eugenio Velez, a former Giant, mishandled Adrianza's grounder with the bases loaded and nobody out to allow a run to score. Gregor Blanco's sacrifice fly delivered the other run.

In the ninth, the Brewers' Hector Gomez tripled home a run and Matt Pagnozzi singled in another before the Giants secured the victory.

Up next: Veteran right-hander Kyle Lohse is scheduled to take the mound on Saturday against the Dodgers in the Brewers' first spring home game at Maryvale Stadium, live on MLB.TV and Gameday Audio at 2:05 p.m. CT.

A second Brewers squad will travel to Scottsdale to face the D-backs at 2:10 p.m., live on Gameday Audio.

Reliever Francisco Rodriguez, who has been waiting on the processing of his visa from Venezuela, is expected to report to camp on Saturday. It's unclear when he will be able to pitch in a game.