Build failed. Build.xml cannot be found

Hi,
I am using the lastest version of TeamCity.
When trying to build I get the next problem:

[09:16:55]: Cannot find build file by path specified in build configuration settings: 'C:\TeamCity\buildAgent\work\a02e639535e518dd\build.xml' (absolute path on agent). Please check that specified path is correct.
[09:16:55]: jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'C:\TeamCity\buildAgent\work\a02e639535e518dd\build.xml' (absolute path on agent). Please check that specified path is correct.
jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'C:\TeamCity\buildAgent\work\a02e639535e518dd\build.xml' (absolute path on agent). Please check that specified path is correct.
at jetbrains.buildServer.runner.BuildFileRunnerUtil.getBuildFile(BuildFileRunnerUtil.java:61)
at jetbrains.buildServer.agent.ant.AntBuildRunner.getBuildFile(AntBuildRunner.java:144)
at jetbrains.buildServer.agent.ant.AntBuildRunner.getProgramParameters(AntBuildRunner.java:82)
at jetbrains.buildServer.agent.runner.JavaProgramRunner.buildCommandLine(JavaProgramRunner.java:82)
at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:104)
at jetbrains.buildServer.agent.impl.runner.adapt.BuildProcessImpl$2.run(BuildProcessImpl.java:55)
at java.lang.Thread.run(Thread.java:595)

[09:16:55]: Build finished

My solution files are copied to the specified path by TeamCity, but for some reason build.xml is not copied.
Could you please help me to understand what I am doing wrong?

Thanks in advance.
2 comments
Comment actions Permalink

Olexsandr,

What type of checkout do you use (on server or on agent)? Have you checked whether this file exists on the agent where build is running? Are there any checkout rules configured for this build configuration and VCS root?

0
Comment actions Permalink

I've already solved the issue. Sorry for disturbing

0

Please sign in to leave a comment.