Logan Webb was dominant for seven innings as Giants blanked Diamondbacks 5-0

SAN FRANCISCO – Logan Webb retired 19 straight batters en route to seven smooth innings and the San Francisco Giants defeated the Arizona Diamondbacks 5-0 on Thursday night to open a four-game series.

Webb (2-1) struck out five and recorded 13 groundball putouts, allowing just two hits and a walk in a game that lasted just 2 hours and 12 minutes.

“I think this is a perfect example of the type of team we are,” Webb said. “We’re going to take at-bats, we’re going to go to the end, we’re going to play great defense, and that’s what we did.”

Wilmer Flores hit a pinch-hit, two-run double in the eighth and Mike Yastrzemski added a two-run single. LaMonte Wade Jr. delivered a sacrifice fly in the third.

Jung Hoo Lee singled twice to extend his hitting streak to 10 games.

San Francisco earned its first shutout of the season, while Arizona was blanked for the first time, falling to 1-6 in series openers.

“That’s probably as good a game as we’ve had all year,” Giants manager Bob Melvin said. “We got some big hits, we had great starting pitching, we had good relief pitching, we played good defense. All of the above. And I think that’s the type of team we’re capable of.”

Diamondbacks starter Ryne Nelson left after two scoreless innings with a bruised right elbow when he was hit on the throwing arm by an 80-mph line drive off Yastrzemski’s bat. Nelson was able to field the ball and initially throw out Yastrzemski to end the inning, but the right-hander grimaced and held his forearm as he walked to the dugout.

“It’s a little stiff right now,” Nelson said. “It doesn’t feel that great. I was hit in exactly the right spot, right on the elbow. So we’ll just see how it feels tomorrow morning. Give it a rest and we will know more tomorrow.”

Nelson was replaced by Logan Allen, who was selected from Triple-A Reno on Wednesday. Allen (0-1) allowed one run and three hits in 4 2/3 innings, striking out three and walking one.

“He was fantastic,” Diamondbacks manager Torey Lovullo said. “It was all because of him that we were in a position to win the game in the eighth inning with a one-run deficit. He was incredible and without him we wouldn’t have had a chance.”

Patrick Bailey led off the bottom of the third with a double. After a groundout by Nick Ahmed, Lee reached on an infield single, moving Bailey to third base.

Wade sent a flyball to center field, deep enough for Bailey to tap and score.

Flores batted for Michael Conforto with the bases loaded in the eighth and hit a double into the leftfield corner to make it 3-0. Yastrzemski singled in two more runs to give San Francisco a cushion.

Tyler Rogers and Ryan Walker completed the three-hitter.

Diamondbacks: C Gabriel Moreno (bruised right thumb) returned to the starting lineup after being a late scratch each of the previous two days. He went 0 for 3.

Giants: RHP Alex Cobb felt mild right shoulder irritation and was scheduled to visit a team physician Thursday evening. Cobb threw a bullpen in Arizona on Tuesday as he continues to recover from offseason left hip surgery. … RHP Luke Jackson (lower back strain) began a rehab assignment with Class A San Jose and pitched a scoreless inning with one strikeout and one walk.

Jordan Montgomery will make his Diamondbacks debut on Friday night. The 31-year-old lefty signed a one-year, $25 million contract on March 29 after winning the World Series with the Texas Rangers last season.

The Giants counter with LHP Blake Snell (0-2, 12.86 ERA), who signed a two-year, $62 million contract on March 19 and is looking for his first win with San Francisco in his third start.