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

Log Discarder to delete log files generated by Jenkins pipeline scripts, but keep build information

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, plugin-proposals
    • None

      I've created a log discarder that acts similar to Jenkins' Log Rotation strategy to discard old builds.  However, this log discarder will delete the logs for older builds, but does not delete build information such as when a build was started and how long it took for trend analysis.

       

      I'm willing to submit a pull request!

       

      This change will also mitigate the issue: https://issues.jenkins-ci.org/browse/JENKINS-48344

        1. consoleOutputOfBuild2withLogs.JPG
          43 kB
          Thy Dai
        2. consoleOutputOfBuild2withoutLogs.JPG
          38 kB
          Thy Dai
        3. consoleOutputOfBuildwithLogs.JPG
          46 kB
          Thy Dai
        4. consoleOutputOfBuildwithoutLogs.JPG
          40 kB
          Thy Dai
        5. job-view.JPG
          79 kB
          Thy Dai
        6. numberOfBuilds.JPG
          24 kB
          Thy Dai
        7. overviewOfBuild2withLogs.JPG
          49 kB
          Thy Dai
        8. overviewOfBuild2withoutLogs.JPG
          45 kB
          Thy Dai
        9. overviewOfBuildwithLogs.JPG
          45 kB
          Thy Dai
        10. overviewOfBuildwithoutLogs.JPG
          50 kB
          Thy Dai

            Unassigned Unassigned
            thyrex Thy Dai
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: