or Create a profile
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
on 08 Nov, 2018 09:41 PM
It actually exists :) If you check link to the artifact in UI, you can find that it is https://ci.appveyor.com/api/buildjobs/<job-id>/artifacts/<filename>.
You can get job id from APPVEYOR_JOB_ID environment variable.
Better yet, notification template has eventData.jobs.artifacts.permalink element. And you can use notification template with any king of notification, by customizing it.
Hope this helps.
Formatting help /
(switch to plain text)
(switch to Markdown)
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.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.