Open rpdharanidhar opened 9 months ago
I was also getting the same error, Because while configuring the Job in jenkins, I had given my commands in "Execute shell" instead of "Execute Windows batch command" in Build steps screen. If Windows OS, then the commands to be given in "Execute Windows batch command".
Running on Jenkins in C:\ProgramData\Jenkins.jenkins\workspace\test01\jenkinsdemo1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) (hide) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential polar-git-credentials