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.

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

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

Recent Discussions

02 Jul, 2020 03:24 PM
01 Jul, 2020 08:32 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM