HI Dave, I have no experience with running GoCD on Windows, so I can't help you there, but some generic debugging questions:
1) Can you see an exit status from this? If, what is it? 2) Is the git command in the %PATH% for your agent? Often the path setup for your manual user is different from the agents (at least on Linux), so it pays to check it. On Linux, I usually check this by changing the launch script to do printenv, no idea what an equivalent would be for windows. :) Cheers, Björn On Sun, Nov 5, 2017 at 4:59 AM Dave Greenly <[email protected]> wrote: > Hi There - I am brand new to GoCD, and have installed the agent and server > on a windows 10 machine locally just to get started. > > I have created a pipeline that has a git repo as the material, and I am > simply trying to execute the most basic command of "protractor --version" > as I am going to want to start executing more protractor tests etc... > > When I execute the pipeline it connects to the git repo using the user > name and password I provide. (Originally it did not execute the clone > command correctly and then I did it manually and it worked, and then when I > re-executed the pipeline, now I am getting the error below. > > So I guess I have 2 questions: > > 1) Right now the pipeline is just running as the "anonymous" user, how do > I change this because I am suspecting this is the problem. > 2) Has anyone else seen this error and how did you resolve it? > > And yes, the command does execute manually. > > Thanks > Dave > Error while executing [git config remote.origin.url] > Make sure this command can execute manually. > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
