Looks like the git executable is not on the path for the service account
used for the go-agent.

Please compare the PATH settings between your 21.2 and 23.3 instances.

-- Sriram

On Fri, Nov 10, 2023 at 10:55 AM Sri Sai Sruthi JAGANNADDAM <
[email protected]> wrote:

>  Could any one please help with this - I am writing to report a challenge
> we’ve encountered following our recent upgrade from GOCD version 21.2 to
> version 23.3. During our testing phase, we observed that certain pipelines,
> which execute on Windows agents, are failing with the following error when
> run through "Custom Command"
>
>  [go] Task: git pull
> Took: 0.179s
> Exited: 1
> '"git pull"' is not recognized as an internal or external command,
> operable program or batch file.
>
>
> This issue seems to be isolated to the Windows agents as the pipelines
> running on Linux agents are performing without any issues.
> The same pipelines were functioning correctly on the previous version of
> the GOCD server,
> which suggests a potential configuration or environment variable path
> discrepancy in the new version.
>
>
> ------------------------------
> The information in this email and any attachments are intended solely for
> the recipient(s) to whom it is addressed, and may be confidential and/or
> privileged. Any unauthorized distribution or copying of this transmittal or
> its attachments is prohibited. If you are not a named recipient or have
> received this email in error: (i) you should not read, disclose, or copy
> it, (ii) please notify the sender of your receipt by reply email and delete
> this email and all attachments.
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/08c6247d-e0c3-4d05-b449-e31c3b899e1dn%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/08c6247d-e0c3-4d05-b449-e31c3b899e1dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CANiY96Z8ccvKga1uvn5Dj6WXSg8exiOUASUB1PxCEKE57kJ%3DHQ%40mail.gmail.com.

Reply via email to