Ensconce can configure reports being deployed to SQL Server Reporting Services (SSRS).
As part of the deployment subscriptions can be added using a Ensconce defined SubInfo file.
Whilst deploying the reports, any connection information for the report database will be updated to ensure reports run against the correct database.
ensconce --dr --rsv reportingServicesUrl=[urlToReportingServices] --rsv networkDomain=[authenticationDomain] --rsv networkLogin=[authenticationUser] --rsv networkPassword=[authenticationPassword] --rsv parentFolder=[reportRootFolder] --rsv subFolder=[reportSubFolder] --rsv dataSourceName=[reportDataSource] --rsv ataSourceConnectionString=[reportDataSourceConnectionString] --rsv dataSourceUserName=[reportDataSourceUserName] --rsv dataSourcePassword= [reportDataSourcePassword] --rsv reportSourceFolder=[pathToReports]
A SubInfo file is a text file with the .subinfo extension with a key/value store of subscription information.
The available sub info is as follows
subscriptionOn - either true or falseeventType - The SSRS event type, for example TimedSubscriptionscheduleXml - The report timed subscription schedule in XML formatsubscriptionType - The type of report, either FileShare, CSV or Email (the default is Email if not provided)subjectPrefix - A prefix to apply to email report subscriptionsemailBodyText - The text to include in the body of email report subscriptionssubscriptionSendTo - semi colon separated list of email report subscription recipientssubscriptionCCto - semi colon separated list of email report subscription recipients who will be in CCsubscriptionBCCto - semi colon separated list of email report subscription recipients who will be in BCCsubscriptionRenderFormat - The report renderer format supported by your reporting services instance, defaults to CSVsubscriptionToFile_FilePath - File path to write reports tosubscriptionToFile_UserName - Username to run file save assubscriptionToFile_Password - Password for user to save filessubscriptionToFile_FileName - Filename prefix on saved reportsreportParameters - a semi colon separated string of report parameters in the format Key=Value