provider settings .remove_files only remove files, doesn't install new

huy's Avatar


17 Nov, 2014 07:43 PM


I added .remove_files for a web app-veyor client deployment project and when run, it just delete all the file in the directory but doesn't put new ones in. The blue console display screen only list the files being deleted but not any new ones being copied to the directory.

Setting .remove_files to false gives proper deployment behavior (but directory didn't get clear out before deployment).

Let me know if you need anything from me. Sorry i wasn't able to take a screen capture of the blue logging screen.


  1. Support Staff 1 Posted by Feodor Fitsner on 17 Nov, 2014 08:05 PM

    Feodor Fitsner's Avatar

    OK, let's see.

    If .remove_files is not specified it's false by default, so whenever you specify it explicitly it makes sense to set it to true only.

    When .remove_files is set to false AppVeyor enables DoNotDeleteRule (analogue to command line -enableRule:DoNotDeleteRule) which means "leave extra files on destination". This is default behavior.

    When you set .remove_files to true the rule is not enabled and all files that are not in package should be removed from destination.

    What's your goal?

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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