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

Maven Build Cache Extension: add support for state file suffix #1063

Commits on Aug 21, 2024

  1. Maven Build Cache Extension: add support for state file suffix

    Introduce a new mechanism that can be used to aggregate partial caches.
    
    E.g.
    
    ```
    build -> | javadoc part#1 -|
             | javadoc part#2  |-> release
             | javadoc part#3 -|
    ```
    
    The javadoc jobs can use -Dcache.recordSuffix=javadoc to produce augmented state files with a different name.
    A simple glob like `**/target/state-javadoc.xml` to archive only the new state.
    
    The release job can download all javadoc artifacts, without conflicts with the state files (unless the javadoc jobs overlap).
    The javadoc state files can be loaded with -Dcache.loadSuffixes=javadoc, they will be merged with the default state files.
    romain-grecourt committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    27495c6 View commit details
    Browse the repository at this point in the history