Link in notification email to download the artifact.
In the build notification email (Project Settings | Notification) , I would like to send the link to download the Artifact, so that users can consume the artifact. How can I achieve this ?
Thanks
Amit
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 23 Mar, 2020 10:43 PM
Hi Amit,
You can have a notification template iterating through all jobs and their artifacts, for example:
2 Posted by amit.m.srivasta... on 29 Mar, 2020 04:55 PM
Thanks Feodor. It worked.
3 Posted by amit.m.srivasta... on 06 Apr, 2020 01:55 PM
Getting this error when I try to download an artifact from old notification email.
But it works when I go to Build history | Artifacts and download the file.
<Error>
<Code>AuthenticationFailed</Code>
<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:9bbeae3e-201e-0075-321a-0c12b6000000 Time:2020-04-06T13:53:08.5541420Z</Message>
<AuthenticationErrorDetail>Signature not valid in the specified time frame: Start [Mon, 30 Mar 2020 18:11:15 GMT] - Expiry [Mon, 30 Mar 2020 19:12:15 GMT] - Current [Mon, 06 Apr 2020 13:53:08 GMT]</AuthenticationErrorDetail>
</Error>
Support Staff 4 Posted by Feodor Fitsner on 06 Apr, 2020 04:57 PM
{{url}}
artifact download URL is temporary and expires in 60 minutes. However, you can replace it with{{permalink}}
which will require user to authenticate in AppVeyor.5 Posted by amit.m.srivasta... on 10 Apr, 2020 01:11 PM
Thanks it worked for me.