Open ticket: https://issues.jenkins-ci.org/browse/JENKINS-28880

On Tuesday, 14 October 2014 19:05:57 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 
> jenkinsci-users@googlegroups.com
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/848edd88-a49c-445b-b57c-4520f6de2ae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to