Stopping Builds

I'm having trouble stopping command line builds.  I have a set of 3 command line builds one after the other.  My first command line build step is making a call to "docker build -t <image_name> ."  For some reason if I try to stop the build via the TeamCity UI, the build step does not terminate.  However, when the docker build command finishes, TeamCity does stop the the overall build and prevent the second step from kicking off  Does anyone have some insight on this?  What is the supported behavoir?  Is there a special way I can call docker build so that it properly stops?


1 comment
Comment actions Permalink

Hi Tyler,

Please try to add -i option to the docker command:

docker build -it <image_name> 

Please let me know if it helps.


Please sign in to leave a comment.