Jumping to next build step after 10 seconds in CommandLine runner type

I'm setting up "command line" runner type. My aim is to run the commandline script in the window & let it run. Then go to next build step without closing the command line window which is opened in the previous step. In my last build step, I want to close the command line window which is still open during the initial build step.

Above scenario is based on my build steps while configuring 'BrowserStack" tests project. I want to execute BrowserStackLocal.cmd in my 'Command Line' runner type step & let it run. Then go to next build step in which i have all my tests. Finally in the last build step, I want to close the command line window after completing the tests.

Can you through ideas to jump into next build step from current step please ?

3 comments
Comment actions Permalink

Hi,

If 'BrowserStack' has an appropriate start-stop commands then you can use them (for example like Tomcat). If not then you can start 'BrowserStack' in background, then run tests and then kill it using the following command:

-force - Kill other running instances of BrowserStack Local

0
Comment actions Permalink

Hi Alina,

Thanks for the reply.
Here the issue is mainly around TeamCity (CI) configuration. Need to know how to jump to another build step in TeamCity after initiating 'CommandLine' runner type build step.

0
Comment actions Permalink

Interested users can find more detailed answer here: http://stackoverflow.com/a/30323289/3820003

0

Please sign in to leave a comment.