Help me with this error

91 views
Skip to first unread message

Sathish M

unread,
Jan 11, 2017, 7:19:44 AM1/11/17
to Jenkins Users

harold...@lexmark.com

unread,
Jan 11, 2017, 12:31:38 PM1/11/17
to Jenkins Users

Mark Waite

unread,
Jan 11, 2017, 2:15:15 PM1/11/17
to Jenkins Users
The output

>  init C:\Users\User\.jenkins\workspace\test-git # timeout=10
usually means that you've made a system configuration error.  You've probably defined the name of the git executable as an empty field or empty string.  That line should have been:

>  git init C:\Users\User\.jenkins\workspace\test-git # timeout=10
and since the command name "git" is missing from the output, it likely means that you defined your git executable as the empty string.

If the system configuration page which prompts for the git executable name doesn't show an empty field as an error, please submit an enhancement request to make that field warn if it is empty.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/be631749-8b2c-49c3-9c40-7500f3fa403d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sathish M

unread,
Jan 11, 2017, 11:24:07 PM1/11/17
to Jenkins Users
yes

Sathish M

unread,
Jan 11, 2017, 11:25:27 PM1/11/17
to Jenkins Users
Sorry I didn't get you.

Mark Waite

unread,
Jan 12, 2017, 12:18:47 AM1/12/17
to Jenkins Users
The git plugin allows a user to define the git executable which will be used to perform git commands.  That allows users to override the default git executable (for example, with /usr/local/bin/git instead of the default "git").

That configuration is performed through "Manage Jenkins" -> "Global Tool Configuration".  In that page, there is a section "Git" which probably has a section named "Default".  In that section, there is a field named "Path to Git executable".  My guess is that field is empty in your installation, or the default git installation has been deleted and you need to add a git installation named "Default".

Unfortunately, the global configuration page should show some warning that the field should not be empty.  It doesn't do that.

Mark Waite

Sathish M

unread,
Jan 12, 2017, 12:28:13 AM1/12/17
to jenkins...@googlegroups.com
I've Installed that git online. So the path is not required right

--
Sathish M


To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/6nuS2amct0E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGmcQJ%2Bq73-tuVBf92KSJHbTaSw--WS6oDfdUr874CNWg%40mail.gmail.com.

Mark Waite

unread,
Jan 12, 2017, 12:31:53 AM1/12/17
to jenkins...@googlegroups.com
If you installed git and added it to the PATH, then you should only need to use the default "git".

If you did not add it to the PATH, then you'll need to provide the absolute path to the executable.

Mark Waite

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/6nuS2amct0E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages