PDA

View Full Version : skipping past a wait step during a running build?


CREvans
11-16-2010, 10:09 PM
Is there any way to abort a running wait step in a build script without actually stopping and restarting the build? I have some waits in scripts to allow me to look at results before continuing, but it would be handy to be able to just click a button to just skip past the rest of the duration of the wait step if I've seen what I want to see and there's no reason to wait any longer. I know about putting breakpoints in code, but that doesn't work well for unattended builds where I want to have a wait just in case I am watching a build run, but don't want the build to be stopped by a breakpoint.

Thanks!
Scott

kinook
11-17-2010, 08:35 AM
Not with the Wait action, but you could use WScript.Shell Popup in a Run Script step (see attached sample).

http://msdn.microsoft.com/en-us/library/x83z1d9f%28VS.85%29.aspx