If you get the above error when you setup Jenkins job, please follow the below steps.

There may be several reasons behind this error. One the reason may be if you don’t have git installed where you have jenkins server. To avoid this you can use the below given command.

yum install git

Another reason may be if you didn’t configure the path of git in jenkins. To set git path you can follow the below steps.

  • Go to manage jenkins
  • From there click on Global tool configuration
  • There you can find git path option.

Hope this will solve your problem.

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny