Permalink to artifacts containing job-id

Benedict Hartmann's Avatar

Benedict Hartmann

08 Nov, 2018 11:43 AM

Prerequisite: The job-id stays constant at all builds

Problem: The Job-name may become very long (e.g:Environment: APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2017, generator=Visual Studio 15 2017 Win64; Configuration: Release)

Solution: To generate the permalink to the build it would be great, if i could write the job-id instead of the job-name for the generated job. Much more handy and way easier. Additionaly, you could message the job-id in the current-build information Link to permanent links

  1. Support Staff 1 Posted by Ilya Finkelshte... on 08 Nov, 2018 09:41 PM

    Ilya Finkelshteyn's Avatar

    Hi Benedict,

    It actually exists :) If you check link to the artifact in UI, you can find that it is<job-id>/artifacts/<filename>.

    You can get job id from APPVEYOR_JOB_ID environment variable.

    Better yet, notification template has[].artifacts.permalink element. And you can use notification template with any king of notification, by customizing it.

    Hope this helps.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac