Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-5358

Persist some calculated data for ArtifactLink

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.6 M4, 2.6
    • None
    • None
    • 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.

    Description

      From: https://atlaseye.atlassian.com/cru/CR-BAM-997#c17472

      Chai:
      Is there any reason why we wouldn't simply store the calculated values? One of the things was that size was not calculated for directories in fear that it was going to be too expensive (which it can be if artifacts are big). Thoughts?

      Krystian:
      If we decide to persist the url then we shall remember to update it once the buildKey will get changed (build move) which in my opinion adds complexity. We can however store a path with some kind of token to be replaced by planKey while property is being read ("/browse/%s/artifacts/build-123/whatever")
      If you want to persist artifact size as well, then we might calculate directory size (as it would be done once).

      Chai:
      Yeah for URL we could just store the calculated suffix (ie the thing that requires us to browse for an index.html etc) and leave out the prefix (that can just be apended, it's not expensive)
      + we should store the full size for the directory, though it'd be good to do some testing to see if how much more time it adds (say for a Clover report over JIRA is a good test)

      Attachments

        Activity

          People

            kbrazulewicz Krystian Brazulewicz
            kbrazulewicz Krystian Brazulewicz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h
                8h