Resolution demanding an end to the construction of Israeli settlements on occupied Palestinian territories passes.