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

To perform pre-tested (delayed) commit to VCS:

  1. Start Remote run procedure and customize its general options.
  2. Check the Commits after build(s) finish option to enable pre-tested commit.
  3. Select pre-tested commit condition: weather changes will be committed if there's no new test failed or if the build finishes successfully.
  4. Optionally, check the Ask for confirmation before commit to confirm committing changes if the finished build matches pre-tested commit condition.
  5. Start to run build.
  6. If you checked the commit confirmation option, click "Yes" in the Delayed Commit dialog to commit changes.

    Pretested Commit Confirmation