Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Is there an easy way to delete ALL files/folders in the working directories?



  • In my build actions I do the following:

    Checkout source code to ~/Src
    The source is used to build multiple deployables and the action group is not associated to any deployable so the Src is in the root.

    In action group for deployable #1 (group assoicated to deployable) I build from the ~/Src folder to default

    In action group for deployable #2 (group assoicated to deployable) I build from the ~/Src folder to default

    I always want to ensure that the process starts fresh with no files or folders. Is there a easy way to delete everything when the first action starts or do I need to create separate action steps to delete each folder at the beginning of each action group?

    Product: BuildMaster
    Version: 4.0.9



  • Your best bet would be to do a "Delete Files (*) From ~/Src" Action.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation