cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to properly store hybris zip on Jenkins

Former Member
0 Kudos
554

Hey,

for a continuous integration process we need to have the hybris zip file somewhere on our build server. The goal is to unzip it into the workspace during the build process.

Where should I place that zip file and how can I use it in jenkins.

Thanks a lot and best regards.

Accepted Solutions (1)

Accepted Solutions (1)

michal_tomeczek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,
in my configuration i have:
- directory for such a files, i.e.: /u01/jenkins-shared/hcs-dist
- directory /u01/sjenkins-shared has been chowned for user jenkins recursively

To unpack file:
- change working directory if you need - when you start build you are in build workspace, perhaps it is where you want to be
- execute command "unzip -o -q /u01/jenkins-shared/hcs-dist/PLATFORM_FILE_NAME.zip"

I use this approach both in "Execute shell" build step and with Jenkins pipeline scripts.

Regards - Michal T.

Answers (0)