Unable to invoke putty.exe from Teamcity using Nant

I am a newbie to Teamcity and was trying to build a database release script functionality as a final step to the build process. The release scripts are already in a ksh file and hence, i don't want to re-write it.

As such Teamcity is able to run the Nant program and do the build successfully, however, when I added the step to invoke putty.exe from the .build file, it just keeps on running.

Please can someone tell me a way to invoke a ksh script from Teamcity using Nant?

1 comment
Comment actions Permalink


The shell tool must have some command-line arguments to execute the sctipt and then terminate itself, and don't wait for interactive input anymore.
For example, native Windows shell uses /C argument for that:

cmd.exe /C script.bat


Please sign in to leave a comment.