I'm able to submit remote runs from IntelliJ that involve changes that clearly break compilation, but do not fail in the remote run. I see the following in the TeamCity 4037 build log:
: Checking for changes (1s)
: Building in c:\TeamCity\buildAgent\work\Server\OpenJPA
: Getting project sources (<1s)
: Found 0 components to load on start
<Maven-related log messages from here on>
I seem to recall seeing a thread / bug about build project structure in IntelliJ not lining up properly with the TeamCity structure, and am wondering if maybe that's what's causing my problems. My project has a directory containing a top-level pom.xml and a bunch of subdirectories, each of which in turn has a pom.xml. These nested pom.xml files are referenced from the top-level one. My IntelliJ project was built by running 'mvn idea:idea' several weeks ago. The build directory in the agent is the top-level of this hierarchy, and contains all of the sub-projects.
Is there any way to debug further what might be causing my changes not to be picked up by the agent?