I also have this error in Jenkins 2.7

On Tuesday, October 14, 2014 at 7:05:57 PM UTC+2, llaumgui wrote:
>
> Hi,
>
> with Jenkins 1.584 and Violations plugin 0.7.11, when I build my project 
> on Jenkins, I have a successfull build, but a IllegalStateException caused 
> by Violations plugins cause a fail:
> INFO: 
> ------------------------------------------------------------------------
> INFO: EXECUTION SUCCESS
> INFO: 
> ------------------------------------------------------------------------
> Total time: 25.044s
> Final Memory: 17M/621M
> INFO: 
> ------------------------------------------------------------------------
> ERROR: Processing failed due to a bug in the code. Please report this to 
> [email protected]
> java.lang.IllegalStateException: cannot change build result while in 
> COMPLETED
>     at hudson.model.Run.setResult(Run.java:453)
>     at hudson.plugins.violations.ViolationsReport.setBuildResult(
> ViolationsReport.java:542)
>     at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
> ViolationsMavenReporter.java:100)
>     at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
> )
>     at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
> (MavenModuleSetBuild.java:846)
>     at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
> .java:533)
>     at hudson.model.Run.execute(Run.java:1754)
>     at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
>     at hudson.model.ResourceController.execute(ResourceController.java:89)
>     at hudson.model.Executor.run(Executor.java:240)
> project=hudson.maven.MavenModuleSet@20ef6b76[blabla.services.core]
> project.getModules()=[hudson.maven.MavenModule@3ae75e2d[blabla.services.
> core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
> blabla:services.core][relativePath:]]
> project.getRootModule()=hudson.maven.MavenModule@3ae75e2d[blabla.services.
> core/com.blabla.blabla:services.core][blabla.services.core/com.blabla.
> blabla:services.core][relativePath:]
> FATAL: cannot change build result while in COMPLETED
> java.lang.IllegalStateException: cannot change build result while in 
> COMPLETED
>     at hudson.model.Run.setResult(Run.java:453)
>     at hudson.plugins.violations.ViolationsReport.setBuildResult(
> ViolationsReport.java:542)
>     at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(
> ViolationsMavenReporter.java:100)
>     at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:103
> )
>     at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
> (MavenModuleSetBuild.java:846)
>     at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild
> .java:533)
>     at hudson.model.Run.execute(Run.java:1754)
>     at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
>     at hudson.model.ResourceController.execute(ResourceController.java:89)
>     at hudson.model.Executor.run(Executor.java:240)
>
> Have you some idea ?
>
> Thx.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/41078e45-eab9-40f5-a96b-e3fd67fa128d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to