TeamCity IntelliJ IDEA Plugin provides the Remote run functionality that makes it possible to perform your personal build bypassing the version control system. The use of the Remote Run functionality allows you to test your changes to the project, without waiting for the regular build, and without the danger of breaking it.

This topic explains how you can run remotely a build for Git-based projects. To run a build for Git-based projects, you can use the following commands of the TeamCity menu:

  • Remote Run: Allows you to remotely run a build that includes both your local changes and committed changes.
  • Remote Run Outgoing Changes: Allows you to remotely run a build that includes only committed (outgoing) changes.

 

To perform a remote run for a git-based project
  1. In the TeamCity menu, click Remote Run.
    Alternately, you can do one of the following:
    • In the Changes tool window, right-click the desired change list, and then on the shortcut menu, click Remote Run.
    • In the Version Control menu, click Remote Run.
  2. Follow the provided on-screen instructions.

    All steps are similar to ones described in the To perform a remote run procedure.

 

To perform a remote run outgoing changes
  1. In the TeamCity menu, click Remote Run Outgoing Changes.
    Alternately, you can do one of the following:
    • In the Changes tool window, right-click the desired change list, and then on the shortcut menu, click Remote Run Outgoing Changes.
    • In the Version Control menu, click Remote Run Outgoing Changes.
  2. In the Remote Run Outgoing Changes dialog box that opens, do the following:
    • From the list of available builds, select the build(s), where you want to verify your changes.
    • Optionally, to select a particular build agent for your personal build, on the toolbar, click img  and then complete the Customize build dialog that opens.
    • Click Submit to start running your personal build with selected changes.

    img

The pre-tested commit functionality is not available for Git-based projects. If your remotely run personal build succeeds, you can manually push your committed changes using Git functionality. For more information, see Git Reference or Push Changes Dialog in the IntelliJ IDEA Web Help or refer to Git User's Manual.