2 Replies Last post: Feb 4, 2010 2:54 PM by Olexandr Soukhoy  
Olexandr Soukhoy Newbie 2 posts since
Feb 2, 2010
Currently Being Moderated

Feb 2, 2010 11:47 AM

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.
Marina Grechko JetBrains 600 posts since
Oct 12, 2009
Currently Being Moderated
Feb 3, 2010 1:52 PM in response to: Olexandr Soukhoy
Re: Build failed. Build.xml cannot be found

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?

More Like This

  • Retrieving data ...