jenkinsci / jenkinsci/dependency-track-plugin

Show separate links/charts for multiple invocations of dependencyTrackPublisher

Open
#415 1 comment 2 reactions 1 assignee Claimed by @sephiroth-j View on GitHub
Dominant language
Java
Stars
53
Forks
29
Avg merge
4d 15h
Merged PRs (30d)
6

Description

### What is your feature request about?

Some pipelines need to load multiple sbom to separate DT projects. This works, but the Jenkins UI shows the links and trend charts just for the last invocation.

### Describe the solution you'd like

It would be great if we could add some identifier to the _dependencyTrackPublisher_ call, so that the UI accumulates their data and renders separate info.
i.e. if I call
```
dependencyTrackPublisher (artifact: 'sbom-a.json', name: 'Prj A', ...)
dependencyTrackPublisher (artifact: 'sbom-b.json', name: 'Prj B', ...)
```
I'd expect two separated sections with trend, summary, links: one for project A, and one for project B.

As an example, this is what IMHO happens with [Warnings NG plugin](https://www.jenkins.io/doc/pipeline/steps/warnings-ng/) which provides the _id_, _name_ and other attributes for similar purposes.

### Additional context

I directly created a new feature request just because I can't find the button to create a new discussion.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.