Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4188

Maven2 Job has test Failures but reports the job as a success

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Platform: HP, OS: Linux

      A Maven 2 Job fails with tests:

      Tests run: 6, Failures: 1, Errors: 0, Skipped: 0

      But reports the job as a success, not unstable.

      Hudson 1.3.17 was OK, I am seeing this issue with Hudson 1.319. I am unable to
      test or revert back to Hudson 1.317 or 1.318 as I get the following Hudson
      Exception for all jobs:

      A timer trigger started this job
      Building on master
      FATAL: hudson.model.AbstractProject.getWorkspace()Lhudson/FilePath;
      java.lang.AbstractMethodError:
      hudson.model.AbstractProject.getWorkspace()Lhudson/FilePath;
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:264)
      at hudson.model.Run.run(Run.java:949)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:116)

      Thanks.

          [JENKINS-4188] Maven2 Job has test Failures but reports the job as a success

          kayhansefat created issue -
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-4177 [ JENKINS-4177 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 134261 ] New: JNJira + In-Review [ 202718 ]

            Unassigned Unassigned
            kayhansefat kayhansefat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: