Updated

Brandon Belt hit his eighth spring home run and Madison Bumgarner threw five effective innings and the San Francisco Giants wrapped up their spring training in Arizona with an 8-6 victory over the Diamondbacks on Wednesday.

Hunter Pence also homered for the Giants. Nick Noonan, trying to make the team, had a triple, double and single for the World Series champions, who open a three-game exhibition series against Oakland on Thursday night in San Francisco.

Bumgarner, the No. 2 starter in the Giants' rotation, allowed two runs on six hits, striking out six and walking one.

Belt's solo shot off Heath Bell was his fourth homer in his last four games.

Alfredo Marte and Nick Ahmed homered for Arizona, playing its final spring training home game at Salt River Fields.