Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Build fails in release pipeline
-
Hello,
I have a build Script that succeeds when executed as just the script, but it fails as part of the release pipeline build step.
When I execute just the script the log is:
As part of the Build step in the release pipeline the log is:
The difference is that the execute script uses the LocalAgent, and in the pipeline I have set the Agent to be an Inedo Agent installed on the local server.
Do I need some additional configuration for the Agent?Thanks,
Justin
-
Hi Justin,
Looking at the error, I'm wondering if the directory is actually too long for git, and it's reporting the wrong error message. You could try changing the agent temp directory in the
%PROGRAMDATA%\Inedo\SharedConfig\InedoAgent.config
file by adding a<BuildMasterRootPath>
element to the configuration file with a shorter path likeC:\Temp
.However, if you just need to run on the local server, there's no reason not to just use the local agent instead - it can do everything the Inedo agent can do.
-Greg
-
Hey Greg,
Thanks, changing to C:\Temp solved the issue indeed, so I guess the path was too long.
I'm experimenting with the Inedo Agent to make sure I can scale up and not have everything tied to Localhost, seems that was a good call given these subtle differences :-)Cheers,
Justin