How to stop a running build? Permanently deleted user Created May 29, 2012 09:55 Hi,I tried to use SRunningBuild.stop(), but then TC adds a new build ("Re-added because of unexpected finish")How can I prevent the extra build to be added?Thanks/Johan
Fixed by setting:
setInterrupted(RunningBuildState.INTERRUPTED_BY_USER,null,null); before stopping it.
Could you please help me where to use that line(etInterrupted(RunningBuildState.INTERRUPTED_BY_USER,null,null);) in teamcity to not let retrigger a build. I am not able to understand. Would really appreciate quick help !