Remote run - no update on commit after build

We've been using the remote-run commit after build option to ensure our changes don't break the repository, but there is a problem when the build and commit has finished - the files committed from IDEA are not updated with the new repository revision, and performing a manual 'Update File' or 'Update Project' doesn't fix this. However, as the correct revision is in the repository, performing a 'Rollback' on the files does update them with the new revision (which is a bit disturbing).

The only way I can make sense of this, is that the files are sent to the agent for the build, and if it is successful, they get committed to the repository from the agent rather than from IDEA - so as far as IDEA is concerned, they haven't been committed yet, even though there's a new revision in the repository. Thus, an update has no effect, and a rollback replaces them with the latest revision.

Because of the problems caused by this, we have had to drop using the automatic pre-tested commit option, and revert to a manual build and commit process.

Is this a bug or a configuration problem? If the latter, what is the correct configuration to get this procedure to work as expected?

4 comments
Comment actions Permalink

Dave,

The files are always committed form the IDE.
Do you experience the problem only sometimes or all the time?
Do you log into TeamCIty from IDEA only from a single machine?

Can you please describe your setup so that we can try to reproduce the issue?
Please specify:
- TeamCity version/build (TeamCity  IDEA plugin should be updated to the server version)
- IDEA version
- your version control

--
Best regards,

Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

> Do you experience the problem only sometimes or all the time?
A colleague reported it happening to him some time ago, and when I set up the Team City plug-in on my machine and tried it, I got the same result.

> Do you log into TeamCIty from IDEA only from a single machine?
I do, yes, but colleagues also log in from their machines.


> Can you please describe your setup so that we can try to reproduce the issue?
Sure.

> - TeamCity version/build (TeamCity  IDEA plugin should be updated to the server version)
TeamCity Version 4.0.1 (build 8171).  The plug-in was installed by downloading from Team City.

> - IDEA version
Diana build 9618

> - your version control

CVS

0
Comment actions Permalink

Looks like http://jetbrains.net/tracker/issue/TW-6323
Please watch/vote for the issue.

0
Comment actions Permalink

Yup, that looks like it. Commented  and voted.

Meanwhile, our server guy tells me there are a number of other problems with the latest TeamCity release, and he's got a separate tracker going...

0

Please sign in to leave a comment.