You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build-server-support/build-server/tfs-build-vnext.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ See [Variables](/more-info/variables/) for more info on the variables.
58
58
* If you are using on premises TFS, make sure you are using at least **TFS 2015 Update 1**, otherwise a few things will not work.
59
59
* You need to make sure that all tags are fetched for the Git repository, otherwise you may end with wrong versions (e.g. `FullSemVer` like `1.2.0+5` instead of `1.2.0` for tagged releases)
60
60
Just checking the `Clean Repository` check box in the build definition settings might not be enough since this will run a `git clean -fdx/reset --hard` without fetching all tags later.
61
-
You can force deletion of the whole folder and a re-clone containing all tags by settings the variable `Build.Clean` to `true`.
61
+
You can force deletion of the whole folder and a re-clone containing all tags by settings the variable `Build.Clean` to `all`.
62
62
This will take more time during build but makes sure that all tags are fetched.
63
63
In the future it is planned to allow using `git.exe` instead of current `libgit2sharp` for syncing the repos which might allow other possibilities to solve this issue.
64
64
For details see this [GitHub issue](https://github.com/Microsoft/vso-agent-tasks/issues/1218).
0 commit comments