Cody Eppley was released from the Yankees organization earlier this month.(AP)

The Minnesota Twins have signed ex-Yankees reliever Cody Eppley to a Minor League contract and assigned him to the Triple-A Rochester Red Wings.

Eppley wrote “On my way to Rochester!” on his official Twitter feed Thursday morning, and Darren Hoffman of ESPN Radio Minneapolis later reported that Twins sources had confirmed the signing.

The 27-year-old righty has been a free agent since being released by the Yankees organization on June 5. Eppley began 2013 in the Majors, and allowed four earned runs in 1.2 innings over two appearances for the Yankees in early April before being sent to Triple-A Scranton/Wilkes-Barre when Phil Hughes was activated on April 6.

Eppley then spent two months in Scranton, minus a few days off when he was designated for assignment off the 40-man roster in May, and was 2-2 with an 8.53 ERA in 19 games for the RailRiders.

In 71 Major League appearances for the Yankees and Rangers, Eppley is 2-3 with a 4.61 ERA in 56.2 innings pitched.