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

Player was penalized for maven release.

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ci-game-plugin
    • Labels:
      None
    • Environment:
      ci-game version 1.18
    • Similar Issues:

      Description

      I think something is wonky....We just got this scorecard from a build:

      Rule Points
      The build was successful 1.0
      569 passing tests were removed -569.0

      Participating players
      Scott L.

      Hmm....okay, it looks like this may be due to a maven release build running. The builds around it are scored reasonably.

      I suspect that the way the tests are built/run prevent it from being scored correctly.

      The correct behavior should probably be to not score release builds for maven projects.

        Attachments

          Activity

          docwhat Christian Höltje created issue -
          Hide
          redsolo redsolo added a comment -

          Shouldnt the maven release process run all tests before releasing the artifact? It sounds that the tests didnt run and the plugin thought that all tests were removed.

          Is the release part of the job or something that you run once in a while?

          Show
          redsolo redsolo added a comment - Shouldnt the maven release process run all tests before releasing the artifact? It sounds that the tests didnt run and the plugin thought that all tests were removed. Is the release part of the job or something that you run once in a while?
          Hide
          docwhat Christian Höltje added a comment -

          We run the release manually.

          I seem to recall we removed some of the tests (Maven was running the tests 3 times). But I don't think the tests get recorded by the plugins during a release. It's a radically different build. I think the tests go into the maven-site instead of the test plugin.

          Show
          docwhat Christian Höltje added a comment - We run the release manually. I seem to recall we removed some of the tests (Maven was running the tests 3 times). But I don't think the tests get recorded by the plugins during a release. It's a radically different build. I think the tests go into the maven-site instead of the test plugin.
          Hide
          djeanprost Dominique Jean-Prost added a comment -

          Same problem for me.

          I installed the maven release plugin.
          Each time I release a component through this plugin, although the release runs well, and that all tests are run, I get this problem : it wrongly detects removed tests.

          Do you need more info to work on this ?

          Show
          djeanprost Dominique Jean-Prost added a comment - Same problem for me. I installed the maven release plugin. Each time I release a component through this plugin, although the release runs well, and that all tests are run, I get this problem : it wrongly detects removed tests. Do you need more info to work on this ?
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 141817 ] JNJira + In-Review [ 175548 ]

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              docwhat Christian Höltje
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: