Support active flag
What is your feature request about?
Dependency-Track has an active-Flag that can be set for a specific version.
Describe the solution you'd like
It should be possible to set that flag when uploading via the Jenkins Plugin.
The declarative and scripted pipeline commands should include a boolean option active that sets the Dependency-Track flag active accordingly.
Additional context
No response
Newly created projects are active by default. The only use case I can think of would be to mark them as inactive. Uploading BOMs for inactive projects makes no sense to me. Therefore, this request makes no sense to me.
@sephiroth-j I am in agreement with it not being a good idea to have the plugin attempt to alter the project from inactive to active.
But how about the plugin retrieving the setting and displaying a warning when a build is uploading to an inactive project? Or marking the build as unstable?
@msymons, I don't think anyone would read the warning unless the build is marked unstable, and that wouldn't be appropriate in my opinion.