ipr build does not fail even if code is syntactically wrong

Hi everyone,

I have just installed Teamcity and configured the first project to test the whole procedure. Setup went smooth: The project is a multi-module IDEA project which I configured with one build configuration using the ipr runner and subversion vcs integration.

The first build was completed successfully so I started to commit two changes into the repository which result in compile errors (i.e. missing semicolon). Unfortunately, the Teamcity build process still finished successfully and does not fail because of the wrong code. It seems a little bit like no class is compiled at all.

Can anybody help?

Regards,
Stephan

3 comments
Comment actions Permalink

Please check that files are modified in the agent checkout directory. Also you can check whether compilation was done in the build log.

0
Comment actions Permalink

Even when I completely clean the checkout directory and Teamcity checks out all sources from the repository again, the build is still successful. In fact, the out directory of the IDEA project has no classes inside. So I guess that Teamcity does not compile any classes at all. I have to add that the project is developed by both Eclipse and IDEA users so the classpath is described in .classpath files and not in the IDEA module descriptors. Could this be a problem for the ipr runner?

Regards,
Stephan

0
Comment actions Permalink

Hello Stephan,

  Please show us build log of your build, your VCS settings (do you have any checkout rules, which checkout mode is configured).
  Please also provide IPR runner settings page screenshot, if possible.

  Kind regards,
  KIR

0

Please sign in to leave a comment.