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

Multiple invocations of dependencyCheckPublisher in one build don't show correct results

    Details

    • Similar Issues:

      Description

      We have a build pipeline that executes dependency-check-maven for two independant modules (services and ui), and both reports should be published as part of the build.

      When dependencyCheckPublisher is invoked twice in the pipeline, two actions are added to the build and the UI shows two (identical) "Dependency-Check" links in the sidebar. However, both are showing the same page, apparently those of the second invocation; the information for the first publisher call is not accessible.

      Behavior is the same, whether there are two calls of dependencyCheckPublisher step in the pipeline, or a single call with a pattern string that does match both report files.

        Attachments

          Activity

          Hide
          chamshoff Christoph Amshoff added a comment -

          There is another bad consequence of the issue: when risk gates are given, the DependencyCheckPublisher compares the current values of the second invocation with the values from first invocation of the previous build, which will constantly produce red/yellow build if the number of violations in first invocation is lower than in second...

          Show
          chamshoff Christoph Amshoff added a comment - There is another bad consequence of the issue: when risk gates are given, the DependencyCheckPublisher compares the current values of the second invocation with the values from first invocation of the previous build, which will constantly produce red/yellow build if the number of violations in first invocation is lower than in second...

            People

            • Assignee:
              Unassigned
              Reporter:
              chamshoff Christoph Amshoff
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: