Skip folders when creating artifacts

Peter's Avatar

Peter

12 Oct, 2015 08:24 PM

Hello!

I need to not include some folders when creating the artifacts, but I'm having some trouble figuring out how.
I tried the skip_dirs, but it seemed to include the folder anyway.

E.g:
skip_dirs: \\mysite\\plugins

I've used appveyor.yml file to configure the CI.
The deploy I'm trying to use is FTP deploy.

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Oct, 2015 10:26 PM

    Feodor Fitsner's Avatar

    You could use 7z.exe to package only required files and then push archive to artifacts.

  2. 2 Posted by Peter on 13 Oct, 2015 06:03 AM

    Peter's Avatar

    But won't that create multiple zip files for each folder?

    I can probably just copy the files into their own folder with a power shell script.

  3. 3 Posted by Peter on 13 Oct, 2015 06:04 AM

    Peter's Avatar

    I mean one zip file per folder*

  4. Support Staff 4 Posted by Feodor Fitsner on 13 Oct, 2015 04:33 PM

    Feodor Fitsner's Avatar

    You can put multiple folders into the same archive using 7z.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 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