We are trying to zip folder with password. Getting zip error as below
“zip error: Invalid command arguments (stderr is not a tty)”
We checked other plugins like “Files Operation”, which don’t have zip with password option.
Tried both options through pipeline job and through shell script.
sample script as below
zip -er test.zip test
Running Jenking on Mac OS, details are below,
Mac OS - 11.7
Jenkins version - 2.361.2