"It is truly a shame that the president is degrading it because he didn't get 100 percent of what he wanted. Bipartisanship is summed up by the Rolling Stones: You can't always get what you want, or at least everything you want," Schumer said from the Senate floor.

Trump typically ends campaign rallies — including one last weekend in Harrisburg, Pa. — with the Rolling Stones hit "You Can't Always Get What You Want."

ADVERTISEMENT

Trump hinted on Tuesday morning that he could have gotten a better deal on government funding if he didn't have to negotiate with Democrats, whose votes he will likely need to clear the legislation through both chambers.

He also backed a change to Senate rules allowing spending bills to pass with 51 votes and said the United State "needs a good 'shutdown.'"

either elect more Republican Senators in 2018 or change the rules now to 51%. Our country needs a good "shutdown" in September to fix mess! — Donald J. Trump (@realDonaldTrump) May 2, 2017

But Schumer knocked Trump, saying the tweet "threw cold water on this deal and actually recommended a government shutdown."

"I was deeply disappointed. Here we saw Democrats and Republicans working together in the best traditions of the Senate, and the president disparages in a way that's destructive, essentially saying let's have a shutdown," Schumer added.

McConnell on Tuesday morning argued that the bill includes "conservative wins" such as more border security and defense funding, as well as holding the line on the Internal Revenue Service.

Lawmakers will face another government funding deadline at the end of September when they will need to pass legislation for the 2018 fiscal year.