tag:help.appveyor.com,2012-11-13:/discussions/problems/17919-permalink-to-artifacts-containing-job-idAppVeyor: Discussion 2019-01-09T21:00:20Ztag:help.appveyor.com,2012-11-13:Comment/464648332018-11-08T21:41:57Z2018-11-08T21:41:57ZPermalink to artifacts containing job-id<div><p>Hi Benedict,</p>
<p>It actually exists :) If you check link to the artifact in UI, you can find that it is <code>https://ci.appveyor.com/api/buildjobs/<job-id>/artifacts/<filename></code>.</p>
<p>You can get job id from <code>APPVEYOR_JOB_ID</code> <a href="https://www.appveyor.com/docs/environment-variables/">environment variable</a>.</p>
<p>Better yet, <a href="https://www.appveyor.com/docs/notifications/#webhook-payload-default">notification template</a> has <code>eventData.jobs[].artifacts.permalink</code> element. And you can use notification template with any king of notification, by <a href="https://www.appveyor.com/docs/notifications/#customizing-message-template">customizing it</a>.</p>
<p>Hope this helps.</p>
<p>Ilya.</p></div>Ilya Finkelshteyn