Please help me regarding Teamcity and its very urgent for me

I have installed Teamcity in my machine and installed the build agents on couple of machines. I have configured a C# project to Teamcity and currently i am not cosidering any VCS settings , just i kept my project in a shared folder . When i want to build the project on build agents machine, i am getting the following error.

Cannot find build file by path specified in build configuration settings: '\\hyn11\tddp\tddp\Tests\DaIny\build.xml' (absolute path on agent). Please check that specified path is correct.


Here is the build log:


jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: '\\hywin11\tdnetdp\tdnetdp\Tests\DataIntegrity\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: '\\hyn11\tddp\tddp\Tests\DaIny\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.DotNetBuildRunnerBase.getBuildFile(DotNetBuildRunnerBase.java:83)
at jetbrains.buildServer.agent.msBuild.MSBuildRunnerBase.fillMSBuildBootstrapProperties(MSBuildRunnerBase.java:140)
at jetbrains.buildServer.agent.msBuild.MSBuildRunnerBase.buildCommandLine(MSBuildRunnerBase.java:125)
at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:103)
at jetbrains.buildServer.agent.impl.runner.adapt.BuildProcessImpl$2.run(BuildProcessImpl.java:55)
at java.lang.Thread.run(Thread.java:595)

1 comment
Comment actions Permalink

Do you run agent as service? If so, then user account under which service is running (by default it is SYSTEM) may not have enough permissions to access this network path. Try to change user account: Service properties -> Log on tab.

0

Please sign in to leave a comment.