


Hello everyone,
We have a special request from the client where in we need change the mode in which package is created and installed using curl command to "Merge". Currently, we are using curl commands via Jenkins Groovy to create the package and install them from one instance to another. But since we don't specify any mode , the default behaviour is "Replace" for the contents which get installed on a specific instance.
Is there a way we can achieve this workspace filter using curl command ?
Views
Replies
Sign in to like this content
Total Likes
HI @anirudhanand ,
I believe, you can achieve this by setting up flag -F
curl -u <user>:<password> -F cmd=install -F mode=merge http://localhost:4502/crx/packmgr/service/.json/etc/packages/my_packages/test.zip
Hope that helps!
Regards,
Santosh
Hi Santosh,
Thank you so much for this solution but this doesn't seem to work for me. When I tried the same the the content does get replaced. Also will there be any update on the filter.xml on using the -F mode=merge since I couldn't find it to be updated?
Could you please guide here.
Thanks,
Anirudh