2019-12-30

Jenkins error messages solution

Several errors solutions if I need to solve them again:

java.lang.IllegalArgumentException: Empty path not permitted.
 at org.eclipse.jgit.treewalk.filter.PathFilter.create(PathFilter.java:80)
 at org.eclipse.jgit.treewalk.TreeWalk.forPath(TreeWalk.java:205)
 at org.eclipse.jgit.treewalk.TreeWalk.forPath(TreeWalk.java:249)
 at org.eclipse.jgit.treewalk.TreeWalk.forPath(TreeWalk.java:281)
 at jenkins.plugins.git.GitSCMFile$3.invoke(GitSCMFile.java:165)
 at jenkins.plugins.git.GitSCMFile$3.invoke(GitSCMFile.java:159)
 at jenkins.plugins.git.GitSCMFileSystem$3.invoke(GitSCMFileSystem.java:193)
 at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29)
 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:72)
 at jenkins.plugins.git.GitSCMFileSystem.invoke(GitSCMFileSystem.java:189)
 at jenkins.plugins.git.GitSCMFile.content(GitSCMFile.java:159)
 at jenkins.scm.api.SCMFile.contentAsString(SCMFile.java:338)
 at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:110)
 at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:67)
 at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:292)
 at hudson.model.ResourceController.execute(ResourceController.java:97)
 at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE
The problem was newly created job and "Lightweight checkout" option checked. After unchecking it was working again.


Žádné komentáře :

Okomentovat

Dotaz, připomínka, oprava?
(pokud máte problém s vložením příspěvku, vyzkoušejte to v prohlížeči Chrome)