A positive jobs report supported market gains through the day and pushed the Dow Jones Industrial Average to end with a perfect week of records. It was the Dow's eighth straight record close. The S&P 500 and Nasdaq also gained. The number of active rigs in the U.S. fell in the past week, according to Baker Hughes data. Rigs drilling for oil fell by one, while gas drilling declined by three. Crude oil settled higher for the session. Blue Apron (APRN) tumbled this afternoon after announcing plans to close its Jersey City plant in October, a facility that employs 24% of its workforce. Affected employees have the chance to transfer to another Jersey plant. Yelp (YELP) rocketed higher after a better-than-expected quarter and after selling its Eat24 delivery service to GrubHub. Yelp sold that business for roughly double the price it paid around two years ago.

More from Video

Former U.S. Education Secretary: Voters Are to Blame for Struggling Schools

Former U.S. Education Secretary: Voters Are to Blame for Struggling Schools

Meet Blackbird, the New 'Uber of the Skies'

Meet Blackbird, the New 'Uber of the Skies'

Here's How to Trade Walmart, Nordstrom, Macy's and J.C. Penney After Earnings

Here's How to Trade Walmart, Nordstrom, Macy's and J.C. Penney After Earnings

Here's Why Stock Picking Is Especially Important in the Retail Sector

Here's Why Stock Picking Is Especially Important in the Retail Sector

Tip For Financial Advisors: Think Outside the Box

Tip For Financial Advisors: Think Outside the Box