<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic curl deployment with environment variable or path in Adobe Social Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-social-questions/curl-deployment-with-environment-variable-or-path/m-p/267699#M414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am struggling with this but is there a way to deploy to aem server using either a folder or with environment variable or wild card? Ideally it would be great if I define the path=somefolder. This way anything in that folder can be deployed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works if I define the application in -F file=@"myapp.zip"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F file=@"myapp.zip" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work and there is no error but when I echo $MYPP I can see the file name. &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F file=@"$MYAPP" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work as well.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F path="$MYAPP" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be ideal as well but do not think there is any support for curl with wild cards ?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F file=@"*.zip" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2018 23:12:41 GMT</pubDate>
    <dc:creator>aemuser2018</dc:creator>
    <dc:date>2018-12-10T23:12:41Z</dc:date>
    <item>
      <title>curl deployment with environment variable or path</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-social-questions/curl-deployment-with-environment-variable-or-path/m-p/267699#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am struggling with this but is there a way to deploy to aem server using either a folder or with environment variable or wild card? Ideally it would be great if I define the path=somefolder. This way anything in that folder can be deployed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works if I define the application in -F file=@"myapp.zip"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F file=@"myapp.zip" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work and there is no error but when I echo $MYPP I can see the file name. &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F file=@"$MYAPP" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work as well.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F path="$MYAPP" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be ideal as well but do not think there is any support for curl with wild cards ?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -v -u user1:user1 --fail&amp;nbsp; -F file=@"*.zip" -F force=true -F install=true '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://forums.adobe.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Fcrx%2Fpackmgr%2Fservice.jsp" rel="nofollow" target="_blank"&gt;http://localhost/crx/packmgr/service.jsp&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 23:12:41 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-social-questions/curl-deployment-with-environment-variable-or-path/m-p/267699#M414</guid>
      <dc:creator>aemuser2018</dc:creator>
      <dc:date>2018-12-10T23:12:41Z</dc:date>
    </item>
  </channel>
</rss>

