Share resources between jobs
Hey.
I am thinking of having the first job to build the module (PowerShell - using invoke-Build) and having all other jobs not build it - but use the result of the first job.
I am considering using the Push-AppveyorArtifact command (where is this documented, btw? I am interested if it takes a pipeline) and have all other jobs download the artefacts (using the REST API).
Is there an easy way to do this?
Comments are currently closed for this discussion. You can start a new one.
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 Owen McDonnell on 06 Aug, 2018 05:10 AM
Sounds like a reasonable plan, though i'm not sure there is any 'easier way' than what you described.
I believe that
Push-AppveyorArtifactaccepts pipeline input by value but not by property.You can see examples of that here in the docs.
2 Posted by oliver on 06 Aug, 2018 06:46 AM
I saw that docs page. I was hoping to see the
Get-Helpof the command without having to stop a build and RDP into the machine.Is there an Appveyor cmdlet for downloading artifacts?
Support Staff 3 Posted by Owen McDonnell on 08 Aug, 2018 05:24 AM
This (which is also linked to from previous link) is the closest to
Get-Helpavailable.And from the api docs you'll find two examples for downloading artifacts.
There is no built in cmdlet yet but it is something that is being worked on as part of some other improvements.
Ilya Finkelshteyn closed this discussion on 08 Oct, 2018 09:00 PM.