Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27704

Clean up build record storage

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-26761 [ JENKINS-26761 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-29571 [ JENKINS-29571 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-27531 [ JENKINS-27531 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 162017 ] JNJira + In-Review [ 185586 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Component/s workflow-cps-plugin [ 21713 ]
            Component/s workflow-scm-step-plugin [ 21717 ]
            Component/s pipeline [ 21692 ]
            jglick Jesse Glick made changes -
            Description # {{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.
            # {{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.
            abayer Andrew Bayer made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]

            People

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

              Dates

                Created:
                Updated: