Using artifacts/ BuildOutput in Job Workflow

Matthias's Avatar

Matthias

24 May, 2020 08:41 AM

Hi there,
I am quite new to AppVeyor and couldnt find and solution dir zur following issue:
I set up a workflow of depending jobs:
1. Compile
2. Unit Test(s)
3. Build
4. Integration Tests

Unit Tests are failling as they so not have any BuildOutput result from Compile.
Is build Cache (which I would flush by API in first job) the right approach or do I miss something?

Thanks in advance,
M.

  1. Support Staff 1 Posted by Feodor Fitsner on 26 May, 2020 05:07 PM

    Feodor Fitsner's Avatar

    Hi Matthias,

    You can use PowerShell script to download build artifacts: https://www.appveyor.com/docs/api/samples/download-artifacts-ps/

  2. 2 Posted by Matthias on 27 May, 2020 05:22 PM

    Matthias 's Avatar

    Hi Feodor,
    Thanks for this solution. Is there any advantage / benefit compared to cache?
    Artifacts need to be published, cache needs to be flushed...

  3. Support Staff 3 Posted by Feodor Fitsner on 27 May, 2020 05:23 PM

    Feodor Fitsner's Avatar

    Cache has job scope, not build.

  4. Feodor Fitsner closed this discussion on 27 Jul, 2020 09:03 PM.

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