Hi,

I am trying to run a batch file on windows (both agent and server are on 
Windows)
The batch file is executed but it never exits. I purposefully exit with a 
'1' to fail.

I am using "start" as the command for the job - is there a better option? 
When I run the following in the terminal it runs the batch file and exits 
gracefully:

start "" /b /wait start_docker.bat

But when I run it as a job in the pipeline it just hangs there. I assume 
that is because for some reason the process is paused and is waiting for 
the enter or esc key to be pressed.

Any idea how I can make a batch script exit a job when it is complete?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/bce93a0d-b9ca-4366-a3f4-652852b21c88n%40googlegroups.com.

Reply via email to