Compilation error only on triggered build

I have a few Qt projects being built by Teamcity. When I commit a change to vcs to trigger a build, I always got the same build error at the same step:

[15:27:20][CustomBuild] Rcc'ing resources.qrc...
[15:27:20][CustomBuild] The system cannot find the path specified.
[15:27:20][CustomBuild] Uic'ing src\commandcard.ui...
[15:27:20][CustomBuild] The system cannot find the path specified.
[15:27:20][CustomBuild] Uic'ing src\myclass.ui...
[15:27:20][CustomBuild] The system cannot find the path specified.
[15:27:20][CustomBuild] Uic'ing src\settings.ui...
 
But when I re-run the build with the same revisions via the UI, the build executes without errors. Even if I set a "Retry Build Trigger" to retry after first error, the error exists.
 
After a error, the supposed missing files exists correctly in the disk, as they are in version control.
 
Windows 7 64
TeamCity Professional 10.0.4 (build 42538) (but issue appeared in older versions too)
 
Thanks in advance.
 
Rodrigo Madruga.
0
2 comments

Hello Rodrigo,

Does the build run in the same agent in both cases? Could you please attach full build log of the successful and failed builds? You can use "Submit a request" button on the top to send logs privately.  

0
Avatar
Permanently deleted user

Hello Alina,

Yes, both builds run on the same agent.

I will upload 4 build logs (2 failed and 2 successful) via "Submit a Request"

 

Thanks in advance!

0

Please sign in to leave a comment.