Share resources between jobs

oliver's Avatar


05 Aug, 2018 07:49 PM


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?

  1. Support Staff 1 Posted by Owen McDonnell on 06 Aug, 2018 05:10 AM

    Owen McDonnell's Avatar

    Sounds like a reasonable plan, though i'm not sure there is any 'easier way' than what you described.

    I believe that Push-AppveyorArtifact accepts pipeline input by value but not by property.
    You can see examples of that here in the docs.

  2. 2 Posted by oliver on 06 Aug, 2018 06:46 AM

    oliver's Avatar

    I saw that docs page. I was hoping to see the Get-Help of the command without having to stop a build and RDP into the machine.

    Is there an Appveyor cmdlet for downloading artifacts?

  3. Support Staff 3 Posted by Owen McDonnell on 08 Aug, 2018 05:24 AM

    Owen McDonnell's Avatar

    This (which is also linked to from previous link) is the closest to Get-Help available.

    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.

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