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].
For more options, visit https://groups.google.com/d/optout.

Attachment: build.log
Description: Binary data

Reply via email to