1. program.dat should be deleted after the build completes.
      2. CpsFlowExecution.owner should be transient.
      3. .script and .loadedScripts could probably be nulled out at the end of the build. (no, would break Replay)
      4. SCMCheckout.changelogFile should be relative.
      5. .pollingBaseline should use null rather than SCMRevisionState.None.
      6. As perhaps should MultiSCMRevisionState.revisionStates.values(). If possible, MultiSCMRevisionState should not be stored at all.
      7. EnvActionImpl should be deleted at the end of the build if empty.

          [JENKINS-27704] Clean up build record storage

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26761 [ JENKINS-26761 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-29571 [ JENKINS-29571 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-27531 [ JENKINS-27531 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 162017 ] New: JNJira + In-Review [ 185586 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-cps-plugin [ 21713 ]
          Component/s New: workflow-scm-step-plugin [ 21717 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Description Original: # {{program.dat}} should be deleted after the build completes.
          # {{CpsFlowExecution.owner}} should be {{transient}}.
          # {{.script}} and {{.loadedScripts}} could probably be nulled out at the end of the build.
          # {{SCMCheckout.changelogFile}} should be relative.
          # {{.pollingBaseline}} should use {{null}} rather than {{SCMRevisionState.None}}.
          # As perhaps should {{MultiSCMRevisionState.revisionStates.values()}}. If possible, {{MultiSCMRevisionState}} should not be stored at all.
          # {{EnvActionImpl}} should be deleted at the end of the build if empty.
          New: # {{program.dat}} should be deleted after the build completes.
          # -{{CpsFlowExecution.owner}} should be {{transient}}.-
          # -{{.script}} and {{.loadedScripts}} could probably be nulled out at the end of the build.- _(no, would break *Replay*)_
          # {{SCMCheckout.changelogFile}} should be relative.
          # {{.pollingBaseline}} should use {{null}} rather than {{SCMRevisionState.None}}.
          # As perhaps should {{MultiSCMRevisionState.revisionStates.values()}}. If possible, {{MultiSCMRevisionState}} should not be stored at all.
          # {{EnvActionImpl}} should be deleted at the end of the build if empty.
          Andrew Bayer made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: