TeamCity allows you to commit changes manually, even if remote run build is failed or is you did not use automatic pre-tested commit option.

To commit changes to VCS:

  1. Open TeamCity Changes view.

  2. In the list of changes, right-click the desired changelist.
  3. On the context menu of the selection, choose Commit.

    Context menu of the TeamCity Changes view