I am unable to find a clear path to execute the git operation in the Jenkins?
Asked
Active
Viewed 1,672 times
0
-
It would be helpful to provide some background details. Ex.: You are running on a cloud CI/CD product, and it has xyz configuration. – ryanwebjackson Jun 21 '21 at 01:56
1 Answers
1
That would be typical of a Jenkins agent on Linux, trying to access to a Git plugin whose PATH was set to a Windows one.
Make sure, as mentioned here, to specify the git location under the tools
section for Linux agent, in the Jenkins node section.
Non-pipeline approach: "Define the build tool only at Client master level".

VonC
- 1,262,500
- 529
- 4,410
- 5,250