SAN FRANCISCO (AP) A two-run homer from Evan Longoria was all the offense the San Francisco Giants could muster Thursday afternoon in a 4-2 loss to the Pittsburgh Pirates at Oracle Park.
Joe Musgrove pitched five shutout innings and hit a triple, and Jacob Stallings homered for the Pirates.
The Pirates took three of four in the series, and have won 14 of their last 20 games in San Francisco dating to 2014.
The Giants have lost four of five and nine of its last 11 home games and is 31-41 at Oracle Park this season.
Musgrove (10-12) struck out seven, gave up four hits and walked none.
Pirates closer Felipe Vazquez worked around a first-and-third, no-outs situation in the ninth for his 28th save in 31 attempts.
Joey Rickard drew a leadoff walk to start the ninth and Donovan Solano followed with a single, but Vazquez struck out Corban Joseph and Mike Yastrzemski, and then got Buster Posey to ground out.
Jose Osuna doubled in a run in the top of the first, and Cole Tucker tripled and scored on Kevin Kramer's sacrifice fly to give Pittsburgh a 2-0 lead in the fourth.
Musgrove tripled leading off the fifth and scored on Adam Frazier's single to make it 3-0.
Longoria hit a two-run homer off reliever Yacksel Rios - his 19th - in the Giants sixth.
Stallings hit his sixth homer and second of the series leading off the seventh against starter Jeff Samardzija (10-12).