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

Log File checker not aborting the pipeline even the size exceeds the limit

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.107.3
      Log File Checker plug in version : 1.4

      node('master'){
      wrap([$class: 'LogfilesizecheckerWrapper', 'maxLogSize': 1, 'failBuild': true, 'setOwn': true])

      { echo "do stuff" }

      stage("print"){
      while(true)

      { sh 'echo "Test"' }

      }

      }

       

      This script not get aborted by the LofileChecker even after reached more than 1mb of log.

       

       

          [JENKINS-55421] Log File checker not aborting the pipeline even the size exceeds the limit

          Stephane Odul added a comment -

          We have installed this plugin and are still seeing logs that are more than 10x the limit we set. It seems this plugin is not working and is no longer maintained unfortunately.

          Stephane Odul added a comment - We have installed this plugin and are still seeing logs that are more than 10x the limit we set. It seems this plugin is not working and is no longer maintained unfortunately.

          Mark Waite added a comment -

          sodul I agree that this plugin is not maintained. The last commit to the plugin repository was 5 years ago. The last release was 5 years ago. The minimum Jenkins version required is 1.642.3, a version from 8 years ago. If you need the plugin, then you could adopt the plugin, modernize the plugin, fix this issue, and release a new version.

          Mark Waite added a comment - sodul I agree that this plugin is not maintained. The last commit to the plugin repository was 5 years ago. The last release was 5 years ago. The minimum Jenkins version required is 1.642.3, a version from 8 years ago. If you need the plugin, then you could adopt the plugin , modernize the plugin , fix this issue, and release a new version .

          Stephane Odul added a comment -

          markewaite unfortunately I'm not much of a java developer, so my ability to fix the plugin is very limited. Can the plugin be marked as being abandoned or up for adoption as a hint for folks that might want to try it?

           

          Stephane Odul added a comment - markewaite unfortunately I'm not much of a java developer, so my ability to fix the plugin is very limited. Can the plugin be marked as being abandoned or up for adoption as a hint for folks that might want to try it?  

          Mark Waite added a comment -

          We rely on the maintainers of a plugin and those interested in a plugin to mark it as "up for adoption". I wasn't much of a Java developer until I started working on Jenkins plugins. I'm still not much of a Java developer, but determined enough

          Mark Waite added a comment - We rely on the maintainers of a plugin and those interested in a plugin to mark it as "up for adoption". I wasn't much of a Java developer until I started working on Jenkins plugins. I'm still not much of a Java developer, but determined enough

            stefanbrausch Stefan Brausch
            mohamednazeer Mohamed Nazeer Mohamed Ibrahim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: