Only one form of artifact upload works?

Lilith River's Avatar

Lilith River

27 Aug, 2014 10:37 PM

This works, producing uploaded files:

- appveyor PushArtifact C:\projects\libwebp\output\release-dynamic\x64\bin\libwebp.dll -FileName libwebp(x64).dll

This does not, despite saying Packaging artifacts...Done.

artifacts:
  - path: output\release-dynamic\x64\bin\libwebp.dll
    name: libwebbp-x64.dll
  - path: output\release-dynamic\x86\bin\libwebp.dll
    name: libwebbp-x86.dll

I think I'm following the docs here...

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Aug, 2014 11:10 PM

    Feodor Fitsner's Avatar

    Could you please drop a link to the build with this issue?

  2. 2 Posted by Lilith River on 28 Aug, 2014 02:24 AM

    Lilith River's Avatar

    https://ci.appveyor.com/project/nathanaeljones/libwebp-net/build/0....

    Notice that the only uploaded artifacts are the ones with parenthesis (x64), not the ones with -x64.

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Aug, 2014 04:04 AM

    Feodor Fitsner's Avatar

    Interesting...will take a look.

  4. Support Staff 4 Posted by Feodor Fitsner on 29 Aug, 2014 12:01 AM

    Feodor Fitsner's Avatar

    OK, I see where the problem is.

    When you declaratively specify artifacts you specify folders relative to a build root folder (clone folder). But you work in a different, custom folder (C:\projects\libwebp'), so AppVeyor is looking for artifacts inC:\projects\libwebp-net\output\release-dynamic\x64\bin\libwebp.dllandC:\projects\libwebp-net\output\release-dynamic\x86\bin\libwebp.dll`.

    I'd recommend changing clone folder to C:\projects\libwebp and work from there...and you don't need any cleanup code as it's always a clean VM for every build! ;)

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:47 AM.

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