How to rebuild same package programmatically ? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Rebuild an existing package in CQ
        curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build

3 replies

Shashi_Mulugu
Community Advisor
Community Advisor
October 11, 2023
Harwinder-singh
Community Advisor
Community Advisor
October 11, 2023

@pratikshah There is an excellent MCP use case on this topic. 

https://kiransg.com/tag/mcp/

 

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 12, 2023

Rebuild an existing package in CQ
        curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build

Arun Patidar