Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23456

Re-upload function for Bitbucket Cloud Pipelines caches

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Hi team,

      We have had a request from a customer as per the following:

      • Trying to configure various changeset conditions, cache-keys or clear-cache steps does not help the fact that you need to re-download the dependencies all the time after a cache is cleared/not found.
      • Cache keys specifically does not work for their use case since adding a new dependency would be a cache miss and would require redownloading everything again.
      • By having this feature, a project could add a new dependency and have it added to the cache without having to clear the old one.
      • Customer suggestion is to add a configuration option that will allow to cache to be re-uploaded with the new contents.
        definitions:
          caches:
            maven-cache:
              replace: true
              path: ~/.m2/repository
        

      Cheers!

      • Ben (Bitbucket Cloud Support)

              Unassigned Unassigned
              57b7f67f3625 Ben
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: