How to stop a running build?

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

1 comment
Comment actions Permalink

Fixed by setting:
setInterrupted(RunningBuildState.INTERRUPTED_BY_USER,null,null); before stopping it.

0

Please sign in to leave a comment.