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!

Enumerate over all config files



  • I would like to create a template that generically deploys all config files for any unspecific application, something like:

    for $ConfigFileName in @ConfigurationFiles
        Deploy-ConfigFile
        (
            ConfigFileName: $ConfigFileName,
            Instance: $EnvironmentName,
            To: $webroot
        );
    

    Is there such an array as @ConfigurationFiles, and/or mechanism to perform the above?

    Product: BuildMaster
    Version: 5.6.8



  • Hi Jason, there's not currently... but I've added a request to get this in a maintence release under BM-2374

    @ConfigurationFiles([AppName])

    @ConfigurationFileInstances(configurationFileName, [AppName])



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation