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

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

XMLWordPrintable

    • 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.

       

       

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

              Created:
              Updated: