Build runner: how to open mingw shell from working directory


My build steps require to run mingw shell first and then a shell script with parameters in working directory.  Now on the build agent,manually,  I can login and directly invoke mingw shell directly as I have exported mingw to Windows Path.  Is there a way that Teamcity build runner can be configured to directly invoke a custom shell environment just like cmd from working directory?


1 comment
Comment actions Permalink


I'm not sure i understand what you need, I guess you want agent to run the script with a specific user environment? If you run agent as a windows service you can specify the user in the service properties. TeamCity picks up some system properties and you can also specify your custom properties that you can refferencce in your build script




Please sign in to leave a comment.