MLB

Yankees fall to Diamondbacks in 12th

On the night the Yankees lost Derek Jeter until after the All-Star break, they also lost their series finale against Arizona.

The Yankees wasted Phil Hughes’ bounce-back start, squandered Francisco Cervelli’s game-tying ninth-inning homer, as David Phelps’ dismal outing dooming them to a 6-2, 12th-inning defeat Thursday night at the Stadium.

Phelps loaded the bases and allowed Cody Ross’ go-ahead RBI single and gave up a bases-clearing double to ex-Yankee Eric Chavez.

After the Yankees suffered through the news of Jeter’s fractured left ankle — one that will cost him at least three months — it was a gloomy end to what was shaping up as a solid homestand.

“I’ve got to make better pitches with men on base,’’ said Phelps (0-1), who found it difficult to overcome leadoff doubles in both the 11th and 12th. “Difficult is a great word, especially in an extra-inning game. They’re looking to score one run: A bunt and a sac fly they score a run. You’ve really got to get to making pitches right away. I’ve just got to make better pitches; that’s what it boils down to.’’

Manager Joe Girardi said Phelps was falling behind hitters, and he had done so in the 11th as well, wiggling out of a two-on, none-out jam by retiring AJ Pollock, Didi Gregorious and Eric Hinske.

There would be no encore for Phelps in the 12th. Leadoff hitter Gerardo Parra doubled over Ichiro Suzuki’s head in right, and Cervelli committed his second catcher’s interference of the night to put Paul Goldschmidt on.

Phelps hit Miguel Montero to load the bases with one out, and allowed Ross’ single to left to plate Parra with the go-ahead run. Chavez, who played in pinstripes the last two years, drilled a double to deep center to clear the bases.

It was an odd game, a result that obscured Hughes’ impressive start. Hughes, who entered the game with a bloated 10.29 ERA, commanded his fastball much better and allowed just two runs and six hits over seven innings. The runs came on solo shots by Didi Gregorius and Prado.

“I thought he threw well,’’ Girardi said. “I thought he located a lot better, he had his off-speed today I thought he had his repertoire, whereas the last start he didn’t have that.’’

Nevertheless, Hughes was outdueled by Patrick Corbin, who took advantage of their vulnerability against lefties to hold the Yankees to two hits and a lone run — a solo shot by Robinson Cano — in seven innings.

Cano’s sixth-inning shot cut it to 2-1, and Cervelli’s solo shot off J.J. Putz just got over the wall in left to tie it in the ninth and force extra innings. But that’s where they lost, Heath Bell (1-0) getting the win.

“The homer doesn’t mean anything because we lose the game,’’ Cervelli said. “I don’t care if I hit three homers, we lose I’m not happy. I got to be better next time .”

brian.lewis@nypost.com