Rivera was drafted by the Milwaukee Brewers in the ninth round of the 2010 Major League Baseball draft out of Manuela Toro High School in Caguas, Puerto Rico.[1][2] He reached Double-A for the first time in 2014. Rivera was added to the Brewers 40-man roster on November 20, 2014.[3]
Rivera made his Major League debut on September 22, 2015.[4]
On September 4, 2016, Rivera was recalled to the active roster from Triple-A Colorado Springs Sky Sox to back up the injured Jonathan Villar.[5] Rivera was designated for assignment by the Brewers on September 15, 2017.[6] He elected free agency following the season on November 6.[7]
On November 24, 2017, Rivera signed a minor league contract with the Miami Marlins.[8] Rivera's contract was purchased by the Marlins on March 29, 2018 after he made the team's Opening Day roster.[9] On July 7, Rivera hit his first career home run at Nationals Park against Washington Nationals starter Max Scherzer. He made 111 total appearances for Miami during the regular season, slashing .173/.269/.216 with one home run, nine RBI, and two stolen bases. On December 11, Rivera was removed from the 40-man roster and sent outright to Triple-A New Orleans.[10]
Rivera was assigned to Triple-A New Orleans to start the 2019 season. On June 14, 2019, the Marlins selected Rivera's contract, adding him to their active roster.[11] In 34 appearances for Miami, he batted .183/.258/.217 with three RBI and two stolen bases. On August 6, Rivera was designated for assignment following the promotion of Héctor Noesí.[12] He cleared waivers an was sent outright to Triple-A Jacksonville on August 8.[13] Rivera elected free agency on October 1.
On January 10, 2020, Rivera signed a minor league contract with the Texas Rangers that included an invitation to spring training. On August 20, Rivera was selected to the active roster. He made his season debut on August 23. On September 4, Rivera was designated for assignment after going 0-for-5 in 5 at-bats over 4 games.[14] He became a free agent on November 2.[15]
On May 8, 2021, Rivera signed a minor league contract with the Houston Astros organization and was assigned to the Triple-A Sugar Land Skeeters.[16] Rivera played in 19 games for the Skeeters, hitting .232/.250/.261 with 8 RBI before he was released on September 16.[17]
On April 1, 2022, Rivera signed a minor league contract with the Arizona Diamondbacks and was assigned to the Triple-A Reno Aces.[18] He was released on June 19.