These steps did solve my problem:

  • uninstall git client plugin
  • restart
  • install git plugin (not client, will be installed along with git)
  • In configure System (Manage Jenkins) add the git executable and name it Default
  • The name (Default) is referenced in the config.xml of the job in: <gitTool>Default</gitTool>

Previously my name was "Git" in the System configuration, changing it back to "Default" solved my NPE. The <scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> didn't make any difference. You can also try it via the Jenkins UI: configure the project, open all advanced tabs under git and reselect the Git Configuration (a pop up). After saving the config.xml will read: <scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to