Hernandez signed a minor-league contract with the Diamondbacks on Monday, which includes an invitation to spring training, Jon Heyman of the New York Post reports.

Hernandez fared well at Triple-A Oklahoma City a season ago, posting a 3.07 ERA with 11 strikeouts over 14.2 innings, but his success didn't translate to the big leagues, where he accrued a 5.68 ERA and 1.34 WHIP with a 22:13 K:BB across 25.1 regular-season innings. He'll presumably receive an opportunity in camp to compete for the big-league roster with his new club.