2

I have specified the path of git in both Configure System and Global Tool configuration in jenkins but still jenkins is showing "The recommended git tool is: NONE" in console output.

prak_dev
  • 21
  • 2
  • Which OS? Where is local Git installed? Where in Configure System? Where in Global Tool Configuration? Which type of Jenkins project? Which configuration? Which Console Output apart from this one line? We're all volunteers here. The professional mind readers all have shows in Las Vegas. – Gerold Broser Nov 27 '21 at 23:47
  • 1
    I have the same issue. I went to configuration of node and section: "Tool Locations" where I added "Git (Default)" and provided path to Git installation on Jenkins node: "C:\Program Files\Git\bin\Git.exe". But still see the same error at the beginning of the job execution. – dubaksk May 23 '22 at 12:54

1 Answers1

0

Try use

tools { git 'Git' }

before te steps.

  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 24 '23 at 10:49