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

[JENKINS-58167] Add support for source code retention strategy of Prism plugin #1660

Merged
merged 26 commits into from Feb 23, 2024

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Jan 12, 2024

Select the strategy that should be used to store the affected source code files. Storing the affected source code files along with the issues consumes a lot of space on your hard disk for large projects. So if your server has not enough free space available to store the sources for all builds, it might make more sense to store only the sources of the last build. In this case, the plugin will automatically discard old results before the new sources are stored. If you do not need the source files at all, you can deactivate the storing of source code files.

The following options are supported:

  • Never store source code files.
  • Store source code files of the last build, delete older artifacts.
  • Store source code files for all builds, never delete those files automatically.
  • Store only changed source code files for all builds, never delete those files automatically

@uhafner uhafner added the enhancement Enhancement of existing functionality label Jan 12, 2024
import static org.mockito.Mockito.*;

/**
* Tests the class {@link QualityGate}.
*
* @author Ullrich Hafner
*/
class QualityGateTest extends SerializableTest<QualityGate> {
class QualityGateTest extends SerializableTest<WarningsQualityGate> {

Check notice

Code scanning / CodeQL

Unused classes and interfaces Note

Unused class: QualityGateTest is not referenced within this codebase. If not used as an external API it should be removed.
@uhafner uhafner changed the title Add support for source code retention strategy of Prism plugin [JENKINS-58167] Add support for source code retention strategy of Prism plugin Jan 13, 2024
@uhafner uhafner marked this pull request as ready for review February 23, 2024 20:50
@uhafner uhafner merged commit df76e4f into main Feb 23, 2024
12 of 22 checks passed
@uhafner uhafner deleted the source-code-retention branch February 23, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
1 participant