Artifact path matching multiple directories

chris.eldredge's Avatar

chris.eldredge

11 Jun, 2014 03:46 PM

My project (https://ci.appveyor.com/project/chriseldredge/klondike/build/artifacts) builds a website into .\dist and I've configured Appveyor to bundle this directory into a zip file. However, my project depends on several 3rd-party/vendor packages under node_modules and Bower components in vendor which also have dist folders.

It seems Appveyor is finding any folder named dist and turning it into a zip file. I only want to bundle the specific dist folder in my top level project directory.

Is there a way to do this without giving dist a unique name?

  1. Support Staff 1 Posted by Feodor Fitsner on 11 Jun, 2014 04:13 PM

    Feodor Fitsner's Avatar

    What artifact paths have you setup and what are corresponding folders you'd like to zip?

    - Feodor

  2. 2 Posted by chris.eldredge on 11 Jun, 2014 04:29 PM

    chris.eldredge's Avatar

    In my appveyor.yml:

    artifacts:
      - path: dist
        name: Klondike
        type: zip
    

    I only want it to pick up dist in the top level project directory. It seems to be picking up 34 ones I don't want under .tmp/..., node_modules/... and app/vendor/....

    I also tried .\dist but it picked up all the other directories too.

  3. Support Staff 3 Posted by Feodor Fitsner on 11 Jun, 2014 04:47 PM

    Feodor Fitsner's Avatar

    OK, will fix that.

  4. Support Staff 4 Posted by Feodor Fitsner on 13 Jun, 2014 05:08 AM

    Feodor Fitsner's Avatar

    It's been fixed and update deployed.

  5. 5 Posted by chris.eldredge on 13 Jun, 2014 05:47 PM

    chris.eldredge's Avatar

    Great! I just confirmed this fixed the issue on my project.

    Thank you.

  6. chris.eldredge closed this discussion on 13 Jun, 2014 05:48 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

 

03 Oct, 2024 07:07 PM
01 Oct, 2024 05:06 PM
01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM