From local failure toward global collapse of elastic–plastic structures in fluctuating fields