title: Download Nexus artifact on local machine (Windows) using Jenkins groovy
body: <p>I have tried below command but it does not retrieve anything instead says 'Asset search returned no results'</p>
  <pre><code>https://&lt;nexus_url&gt;/nexus/service/rest/v1/search/assets/download?sort=version&amp;repository=&lt;my_repo&gt;&amp;group=&lt;grp_id&gt;&amp;name=&lt;name&gt;&amp;maven.baseVersion=&lt;version&gt;
  </code></pre>