Extracting zip artifacts in directories
I have some (well a lot really) zips as artifacts in the following format and am wondering what the proper way would be to extract the contents of each zip file into the same folder in the target as where the zip is located in the source. Here is what I am talking about:
sourceroot
| subdir
| myzip.zip
| subsubdir
| myotherzip.zip
And I would like to extract it to look something like this:
targetroot
| subdir
| extracted.1
| extracted.2
| subsubdir
| extracted.3
| extracted.4
I tried using this for my artifacts path: **\*.zip!** but what that does is extract all the files into targetroot and flattens the whole hierarchy. Any ideas?
Please sign in to leave a comment.
Hi!
Did you try the option [ => target_directory ] ?
Regards,
Olivier.
Does the => syntax work for artifact dependencies? It doesn't appear to resolve right when I try that and the help doesn't give any indication that it is supported.