Uploaded image for project: 'Maven Build Cache Extension'
  1. Maven Build Cache Extension
  2. MBUILDCACHE-93

Command line configuration to disable saving in cache

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              Kevin Buntrock Kevin Buntrock
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: