When executing the following in a scripted pipeline:

sshGet remote: soc_remote, from: 
"/srv/jboss/server/${MAL}/log/${sourcefile}", into: FileName, override: true

The file is downloaded successfully from the remote server into the local 
directory on the Jenkins server.  However, the console output shows the 
contents of that file in its entirety, and the logs files in the build 
folder also contains the contents of the file.  The file is embedded within 
the rest of the log entries, and is not usable.  Therefore when I am 
downloading large files with sshGet, I end up consuming twice the space I 
should be, since I have a log file roughly the size of the file, and then 
the file itself which was downloaded.  How can I turn this off so the log 
file only indicates success or failure, and is not also including the 
contents of the file?

Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a2b01d9a-17a0-435b-9fc5-489d06bab016%40googlegroups.com.

Reply via email to