Kevin Buntrock created MBUILDCACHE-93:
-----------------------------------------

             Summary: Configuration to disable saving in cache
                 Key: MBUILDCACHE-93
                 URL: https://issues.apache.org/jira/browse/MBUILDCACHE-93
             Project: Maven Build Cache Extension
          Issue Type: New Feature
            Reporter: Kevin Buntrock


Configuration to disable saving in cache.

We have already a configuration to : 
- Disable totally any cache interaction
- Disable restoring from the cache 
- Disable saving on the remote cache

But there is no configuration to disable "classic" saving to the cache.

Use case can be :

Having limited space on machine and therefore a limited number of saved build 
allowed.
-> Restricting cache save to the "master" branch / configuring PR branch build 
to benefits from the cache, but disallowing any save from them

It's personally a functionality I use since November and the cache hit rate on 
my project with this technic is pretty nice.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to