BERLIN — The German Parliament on Friday became the first in the European Union to pass a symbolic resolution that designates the Boycott, Divestment and Sanctions, or B.D.S., movement against Israel as anti-Semitic.

The nonbinding vote said the campaign to boycott Israeli products, along with the movement’s “Don’t Buy” stickers, recalled “the most terrible chapter in German history” and revived memories of the Nazi motto “Don’t buy from Jews.”

“The pattern of argument and methods of the B.D.S. movement are anti-Semitic,” the resolution stated, vowing not to fund any organizations that question Israel’s right to exist, call for a boycott of Israel or actively support B.D.S.

B.D.S., which was inspired by the South African anti-apartheid movement, has had several recent successes. In 2018, nearly two dozen artists pulled out of a music festival in Israel. Most recently, the B.D.S. movement has called on artists and fans to boycott the Eurovision Song Contest because Israel is the host.