Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Creation and Addition of Tags #12

Closed
sephiroth-j opened this issue Nov 17, 2020 · 1 comment · Fixed by #76
Closed

Plugin Creation and Addition of Tags #12

sephiroth-j opened this issue Nov 17, 2020 · 1 comment · Fixed by #76
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sephiroth-j
Copy link
Member

Dependency-Track Server allows projects to be provided with tags. This is a very useful way of slicing and dicing projects by team, customer, environment, etc. eg

/projects/?tag=java

It would be useful if the Jenkins Dependency-Track plugin supported the specification of tags.

The ability to add an existing tag or to create and add a new tag might be best controlled by permissions, something requested in Dependency-Track Issue #586.

For instance, I would prefer to see a build fail with a permissions issue (and a good error message) when attempting to use a tag that does not already exist in DT.

The implementation should also support lowercasing of tags (see also Dependency-Track Issue #238 so that when JAVA is specified in the plugin, what is actually used in DT is java.

imported from JENKINS-61741

@sephiroth-j
Copy link
Member Author

I am currently working on this feature. There two things to consider with this:

  1. the API key provided requires the PORTFOLIO_MANAGEMENT permission
  2. Tags will be duplicated Duplicate tag is created upon updating a project DependencyTrack/dependency-track#1165

sephiroth-j added a commit that referenced this issue Jan 24, 2022
sephiroth-j added a commit that referenced this issue Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant