Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update teamcity docs with asbjornu suggestion
Co-Authored-By: Asbjørn Ulsberg <[email protected]>
  • Loading branch information
jakubsuchybio and asbjornu authored Oct 5, 2019
commit a701354b212b4fc8e1c957f8fc9b7b6edefe7159
2 changes: 1 addition & 1 deletion docs/build-server-support/build-server/teamcity.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Just go to your build configuration, Parameters, click Add, Name should be `env.
For GitVersion to work with any mode requiring other than the currently built branch to calculate the version number, you need to set the configuration parameter [`teamcity.git.fetchAllHeads = true` in TeamCity](https://www.jetbrains.com/help/teamcity/git.html#Git-GeneralSettings), because TeamCity by default fetches only the current branch for building.
More reference about this #912, #1199, #1234, #1441, #1477 and #1825

Again go to your build configuration, Parameters, click Add, Name should be `teamcity.git.fetchAllHeads`, value should be `true`.
To add this configuration parameter to your build configuration, go to *Parameters*, click *Add*, *Name* should be `teamcity.git.fetchAllHeads` and the value should be `true`.

### Dynamic repositories
To use server side checkout, you must use the dynamic repositories feature of GitVersion. Server side checkout sends just the files to the agent and not the actual .git folder. Dynamic repositories will clone your repo into a temp folder and use it to calculate version information.
Expand Down