Build Working Directory
note
Not all build runners provide the working directory setting.
Thanks for your feedback!
Was this page helpful?
The build working directory is the directory set as current for the build process. By default, this is the same directory as the build checkout directory.
If a build script needs to run from a location other than the checkout directory, you can specify the location explicitly using the Working Directory field of the Advanced options in the build step settings.
note
Not all build runners provide the working directory setting.
The path entered in the Working Directory field can be either absolute or relative to the build checkout directory. When using this option, all the other paths should still be entered relative to the checkout directory.
The path to the build working directory is available as the teamcity.build.workingDir
predefined parameter.
Thanks for your feedback!
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.