Git push with TeamCity Integration


we are using IntelliJ Ultimate 11 with the TeamCity Integration. Since our TeamCity has not been updated for a while we are stuck with build 15925 of the plugin.

At previous assignments we have used Subversion and then it worked great to do a Remote run and if succesful changes were commited to version control.

Now we use Git and when i choose Remote run there is a text in the dialogue that says:

"Note: pre-tested commit is not available for distributed version controls."

Why is that? Is our TeamCity plugin too old for this our is it not implemented in never versions either?

It works fine to select VCS>Git>Push... so the functionality is there in IntelliJ but as it seems is not available via Remote run?

I know I can right-click on the "build" under My changes anc commit it but why isn't it possible to have it commited and pushed automatically?



1 comment
Comment actions Permalink

Hello Tomas,

This should belong to the TeamCity forum instead.

Pre-tested commit is not supported for DVCes so far (the same in the latest TeamCity verisons). You might want to vote for TW-11344 .
There are some implementation issues and Git specifics that prevent us from introducing the feature easily using the current infrastructure.

However, it seems that for DVCes, exploiting verison control features rather then reusing our own remote-run infrastructure is a way to go.
Particularly, we already have "remote run on branch" and pre-tested commit would map to TW-16054 with this approach.
This latter approach has more chances to be implemented in one of the nearest releases.


Please sign in to leave a comment.