Using this build runner, you can run any script supported by the OS.
On this page:
Command Line Runner Settings
Select whether you want to run an executable with parameters or custom shell/batch scripts.
The option is available if "Executable with parameters" is selected in the Run dropdown. Specify the executable file of the build runner
The option is available if "Executable with parameters" is selected in the Run dropdown. Specify parameters as a space-separated list.
(Since TeamCity 2017.2)
Format stderr output as:
Specify how the error output is handled by the runner:
A platform-specific script which will be executed as a
In this section, you can specify a Docker image which will be used to run this build step.