# Give the unzip step a parameter to suppress verbose output

XMLWordPrintable

#### Details

• Type: Improvement
• Status: Resolved
• Priority: Minor
• Resolution: Fixed
• Component/s:
• Labels:
• Environment:
Pipeline Utility Steps 1.2.2
Pipeline 2.4
Jenkins LTS 2.19.4
Zulu OpenJDK 1.8.0_102-b14
Windows 7 Pro
• Similar Issues:

#### Description

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


#### Activity

Hide
Brian Ray added a comment -

Thank you Matthew Brenner.

Show
Brian Ray added a comment - Thank you Matthew Brenner .
Hide
Łukasz Dudek added a comment -

Thanks a lot, Matthew Brenner!

Show
Łukasz Dudek added a comment - Thanks a lot, Matthew Brenner !
Show
Roman Baeriswyl added a comment - Seems to be released: https://github.com/jenkinsci/pipeline-utility-steps-plugin/blob/master/CHANGES.md
Hide
Matthew Brenner added a comment -

Roman Baeriswyl thanks for pointing that out! I can confirm the parameter is available and working after updating the plugin to 2.0.

Show
Matthew Brenner added a comment - Roman Baeriswyl thanks for pointing that out! I can confirm the parameter is available and working after updating the plugin to 2.0.
Hide
Matthew Brenner added a comment -

A boolean parameter 'quiet' was added to the unzip step to address this issue in pull request 40.

This was released in version 2.0, on February 14th, 2018.

Show
Matthew Brenner added a comment - A boolean parameter 'quiet' was added to the unzip step to address this issue in pull request 40 . This was released in version 2.0 , on February 14th, 2018.

#### People

• Assignee:
rsandell
Reporter:
Brian Ray