Support for writing diagnostic archive file to a custom path#1802
Open
sig-abyreddy wants to merge 4 commits into
Open
Support for writing diagnostic archive file to a custom path#1802sig-abyreddy wants to merge 4 commits into
sig-abyreddy wants to merge 4 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for copying the diagnostic archive to a user-specified location via a new detect.diagnostic.archive.path property, and documents the feature for users.
Changes:
- Introduces
detect.diagnostic.archive.path(versioned as 12.0.0) and documents it in troubleshooting + release notes. - Updates
DiagnosticSystem.finish()to copy the generated diagnostic zip to the configured custom path. - Adds a new system test covering custom archive-path behavior.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/java/com/blackduck/integration/detect/workflow/diagnostic/DiagnosticSystem.java | Adds post-zip-creation copy step to a configured custom path. |
| src/main/java/com/blackduck/integration/detect/configuration/DetectProperties.java | Defines new detect.diagnostic.archive.path property and help text. |
| src/main/java/com/blackduck/integration/detect/configuration/DetectPropertyFromVersion.java | Adds VERSION_12_0_0 for property versioning. |
| src/test/java/com/blackduck/integration/detect/workflow/diagnostic/DiagnosticSystemTest.java | Adds tests for copying (and not copying) the diagnostic zip. |
| documentation/src/main/markdown/troubleshooting/diagnosticmode.md | Documents the new property for diagnostic mode usage. |
| documentation/src/main/markdown/currentreleasenotes.md | Adds a release note entry for the new property. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cpottsbd
requested changes
Jun 30, 2026
dterrybd
approved these changes
Jul 2, 2026
zahidblackduck
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Support for writing diagnostic archive file to a custom path via
detect.diagnostic.archive.pathproperty.Changes
detect.diagnostic.archive.pathto accept a custom ouput path for diagnostic zip.IDETECT-5023