We have been trying to zip a file with a Jenkins linux build server with a network path. We were trying use the different options for zip.
We either get the full directory path with zip -r option or no directory with zip -j
We need just the main path without the network path:example: /Documents & /InstallDirectory
Here are the commands we used in shell:
Note: using zip -j creates a zip with a full directory path & no files
ssh rlinuxbuilduser@prd64db zip -rj //foothill/Applications/FoundationRelease/Deltek/InstallDirectory.zip //foothill/Applications/FoundationRelease/Deltek/InstallDirectory
ssh rlinuxbuilduser@prd64db zip -r //foothill/Applications/FoundationRelease/Deltek/InstallDirectory.zip //foothill/Applications/FoundationRelease/Deltek/InstallDirectory
What are we doing wrong?