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

Give the unzip step a parameter to suppress verbose output

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Pipeline Utility Steps 1.2.2
      Pipeline 2.4
      Jenkins LTS 2.19.4
      Zulu OpenJDK 1.8.0_102-b14
      Windows 7 Pro

      The unzip step logs for every file extracted, which can clutter up the console (similar to JENKINS-14541). It would be nice if it took an argument to reduce verbosity. Maybe just a one-line log message reporting how many files were extracted, after the initial Extracting from: message.

      Currently if I have a big ZIP and do the following

      node {
        unzip( zipFile: 'biggy.zip', dir: 'over/there' )
      }
      

      Then it could yield hundreds of lines after the initial message like

      Extracting: somefile -> c:\jenkins_agent\workspace\cool-job\over\there\somefile
       .
       .
       .
      

            rsandell rsandell
            brianeray Brian Ray
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: