only stop build when sucessful before