TeamCity 9.0 Help

Command Line

With this build runner you can run any script supported by OS.

Command Line Runner Settings

General Settings

Option

Description

Working directory

Specify the Build working directory if it differs from the Build Checkout Directory.

Run

Select whether you want to run an executable with parameters or custom shell/batch scripts.

Command executable

Specify the executable file of the build runner. The option is available if "Executable with parameters" is selected in the Run dropdown.

Command parameters

Specify parameters as a space-separated list. The option is available if "Executable with parameters" is selected in the Run dropdown.

Custom script

A platform specific script which will be executed as a *.cmd file on Windows or as an executable script in Unix-like environments. The option is available if "Custom script" is selected in the Run dropdown.

|Build Checkout Directory | Build Working Directory

Last modified: 20 April 2023