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

huy's Avatar

huy

17 Nov, 2014 07:43 PM

Hi,

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.

--Huy

  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

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

 

22 Aug, 2019 08:13 PM
21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 05:56 AM