Community
Participate
Working Groups
Hello. I'm seeing this bug randomly, but frequently, happening: FATAL: hudson.plugins.cloneworkspace.CloneWorkspaceSCM cannot be cast to hudson.plugins.git.GitSCM java.lang.ClassCastException: hudson.plugins.cloneworkspace.CloneWorkspaceSCM cannot be cast to hudson.plugins.git.GitSCM at hudson.plugins.git.GitChangeSet.isCreateAccountBaseOnCommitterEmail(GitChangeSet.java:296) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:256) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:277) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:578) at hudson.model.Run.run(Run.java:1414) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:164) at hudson.model.ResourceController.execute(ResourceController.java:81) at hudson.model.Executor.run(Executor.java:137) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:60) This job is not using Git to retrieve stuff, but the CloneWorkspaceSCM. I have a very similar configuration in another Hudson installation, where there's no Git plugin (Mercurial is used instead). It seems that the Git Plugin is erroneously involved to inspect the committer's email, and then Hudson realizes it's not the Git Plugin, but the CloneWorkspaceSCM. It's causing me big troubles, since many jobs fail very very often. Not tried yet 3.0.1 yet - all plugins up-to-date a couple of weeks ago. Seems similar to 408377. Thanks.