save .lastBuild after build succeed.