Pushing AEM packages from Dev to QA without installing them in QA via Custom Workflow Process Step
I am trying to push the AEM package from Dev to QA via a custom workflow process step, and it should not be installed in QA.
When I used Replicator to achieve this, it installed the package in QA.
When I used Curl Command It was giving exit code 26—https://everything.curl.dev/usingcurl/returns
Kindly help me out.
Thanks in advance !!!
//Curl Command for Uploading the Package
ProcessBuilder processBuilder = new ProcessBuilder("curl", "-u", "admin:admin", "-F", "package=@" + packagePath, " http://localhost:4503/crx/packmgr/service/.json/?cmd=upload");
Process process = processBuilder.start();
process.waitFor();
int exitCode = process.exitValue();
process.destroy();

