[ 
https://issues.apache.org/jira/browse/MBUILDCACHE-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841787#comment-17841787
 ] 

ASF GitHub Bot commented on MBUILDCACHE-93:
-------------------------------------------

olamy merged PR #148:
URL: https://github.com/apache/maven-build-cache-extension/pull/148




> Command line 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
>            Assignee: Olivier Lamy
>            Priority: Minor
>              Labels: pull-request-available
>
> Command line 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