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

Warnings plugin overwrites annotations file on new invoke

    • 5.0.0-beta2

      When you invoke the warning parser more then ones inside a pipeline, the same xml to store the warnings will be reused and thus overwritten. This makes it impossible to obtain the details of the warnings at the end of the pipeline.

       

      Caused by

      warnings-plugin/blob/master/src/main/java/hudson/plugins/warnings/AggregatedWarningsResult.java:getSerializationFileName()

          [JENKINS-49595] Warnings plugin overwrites annotations file on new invoke

          roel postelmans created issue -

          Ulli Hafner added a comment -

          Yes, this cannot work with the current implementation. See wiki for details of the sketch of the new implementation.

          Ulli Hafner added a comment - Yes, this cannot work with the current implementation. See wiki for details of the sketch of the new implementation.
          Ulli Hafner made changes -
          Component/s New: analysis-core-plugin [ 15709 ]
          Labels Original: pipeline warnings New: analysis-core-2.0
          Ulli Hafner made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ulli Hafner made changes -
          Epic Link New: JENKINS-49911 [ 188901 ]
          Ulli Hafner made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Ulli Hafner made changes -
          Status Original: Resolved [ 5 ] New: Fixed but Unreleased [ 10203 ]

          Ulli Hafner added a comment -

          Released in 5.0.0-beta2.

          Ulli Hafner added a comment - Released in 5.0.0-beta2.
          Ulli Hafner made changes -
          Released As New: 5.0.0-beta2
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            drulli Ulli Hafner
            roel0 roel postelmans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: