Started by GitHub push by mscuttari java.lang.NullPointerException: Cannot invoke "org.eclipse.jgit.lib.Ref.getObjectId()" because the return value of "org.eclipse.jgit.lib.Repository.findRef(String)" is null at jenkins.plugins.git.GitSCMFileSystem.lambda$new$0(GitSCMFileSystem.java:118) at jenkins.plugins.git.GitSCMFileSystem.lambda$invoke$e8567d7e$1(GitSCMFileSystem.java:185) at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:28) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:83) at jenkins.plugins.git.GitSCMFileSystem.invoke(GitSCMFileSystem.java:185) at jenkins.plugins.git.GitSCMFileSystem.<init>(GitSCMFileSystem.java:118) at jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:409) at jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:219) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:126) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:73) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Finished: FAILURE