Team City plugin can not find suitable build configuration

Hello,

Use Team City plugin (build 21241) in Intellij Idea (version 1.11.1) and Team City (version 7.0 build 21241). The VCS is Git.
Setup notification rules and receive notifications about project builds.

But I can not use "Remote Run..." or "Remote Run Outgoing Changes..." in Intellij Idea - it outputs "Suitable build configurations were not found for specified changes".
And when I use "Filter All Data by Current Project" - no projects are visible.

I read this article http://confluence.jetbrains.net/display/TCD7/Pre-Tested+%28Delayed%29+Commit#.
And TeamCity and Intellij Idea projects has the same remote branch.

What I need to do to make it work?

Thank you.

0
16 comments
Avatar
Permanently deleted user

Hi,

Can you please enable debug logs in TeamCity plugin? Then please close IDEA, clear log files in "<IDE data directory>/system/log" and start IDEA again. Then please login in TeamCity plugin, enable option "Filter All Data by Current Project" and press "Refresh" button in TeamCity tool window. Then please provide me all files from "<IDE data directory>/system/log" named "idea-teamcity*". Thanks.

0
Avatar
Permanently deleted user

Hi,

Thanks for helping.

Done.



Attachment(s):
idea-teamcity-xmlrpc.log.zip
idea-teamcity.log.zip
0
Avatar
Permanently deleted user

Thanks. Can you please also provide me your VCS settings in both IDEA and TeamCity?

0

Alexander,

logs show that your last local commit is e8bd8221afbe4fea0f98235aa5c17f597c6ea019. Is it already pushed to the remote repository and if so, did TeamCity shows this commit in UI?

0
Avatar
Permanently deleted user

Yes, TeamCity shows this commit in Build History and My Changes Sestion.

0
Avatar
Permanently deleted user

Hmmm, I just try to create another new commit and it works...

0
Avatar
Permanently deleted user

I have checked the same situation on another developer computer.

And he see his commits in IDE and the same commits in TeamCity (in build history and my changes section). But he have the same problems as I has before.

I attached his logs.



Attachment(s):
idea-teamcity-xmlrpc.log.zip
idea-teamcity.log.zip
0

Could you please enable 'debug-vcs' logging preset in TeamCity at "Administration > Diagnostics", reproduce that and provide teamcity-vcs.log?

0
Avatar
Permanently deleted user

Done. I renamed real repo-domain url to "domain" in this log.



Attachment(s):
teamcity-vcs.log.txt.zip
0

It is strange, log doesn't contain invocations of the method which calculates affected build configurations. Did you launch a remote-run dialog in IDE during the time of debug logging on TeamCity?

0
Avatar
Permanently deleted user

Yes, I did.

Yes, very strange. Also I noticed that in my log file the log "Sample paths" has revision hash, but in other delepoler log file this log is empty.

Did you have other reports about this problem previously?

0

Yes we have similar reports recently. It seems like git-plugin inside TeamCity has a bug in its caches. I created an issue http://youtrack.jetbrains.com/issue/TW-21185 please watch for it. I'll attach build with fix there.

0
Avatar
Permanently deleted user

Okay, thank you.

0
Avatar
Permanently deleted user

I'm having the exact sample problem with mercurial.

0

There is no remote-run from IDE for mercurial, sorry. So TeamCity will not find suitable configurations for mercurial. The only way to run personal build at the moment is to use branch remote-run trigger.

0

Please sign in to leave a comment.