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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Thy Dai
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: