This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started by user superman | |
Building in workspace /var/lib/jenkins/jobs/myproject/workspace | |
Checkout:workspace / /var/lib/jenkins/jobs/myproject/workspace - hudson.remoting.LocalChannel@449b369 | |
Using strategy: Default | |
FATAL: null | |
java.lang.NullPointerException | |
at hudson.plugins.git.GitSCM.resolveGitTool(GitSCM.java:821) | |
at hudson.plugins.git.GitSCM.getGitExe(GitSCM.java:837) | |
at hudson.plugins.git.GitSCM.getGitExe(GitSCM.java:830) | |
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1088) | |
at hudson.model.AbstractProject.checkout(AbstractProject.java:1367) | |
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:674) | |
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) | |
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:579) | |
at hudson.model.Run.execute(Run.java:1575) | |
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) | |
at hudson.model.ResourceController.execute(ResourceController.java:88) | |
at hudson.model.Executor.run(Executor.java:237) |
I found the answer from here.
1. Uninstall git client plugin
2. Restart, it would be automatically executed
3. Install git plugin, not git client. Git client is installed automatically too.
4. Confirm git is available and name it "default" on Manage Jenkins > Configure System
Enjoy!
No comments:
Post a Comment