Automated deployment options for SSRS

Michael Robinson picture Michael Robinson · Jun 2, 2014 · Viewed 11.8k times · Source

I have been tasked to look into ways to automate the deployment process for our SSRS 2012 reports. Are there any good tools out there? I'm thinking of something along the lines of press a button and the report gets deployed.

Thanks!

Answer

Ronnie Overby picture Ronnie Overby · Jul 23, 2015

To deploy our SSRS reports, we're using this lovely powershell project:

https://github.com/timabell/ssrs-powershell-deploy

Usage:

.\Deploy-SSRSProject.ps1 -path YourReportsProject.rptproj -configuration Release -verbose

or you can use the alternate parameter set:

.\Deploy-SSRSProject\Deploy-SSRSProject.ps1 -path .\AFS.Reports.rptproj -ServerUrl http://localhost/Reportserver -Folder MyReports -DataSourceFolder "MyReports/Data Sources" -DataSetFolder "MyReports/Datasets" -verbose

The full deployment story (for us):

  • ssrs-powershell-deploy scripts, .rptproj, .rds, .rdl files are all packaged into a nuget package by our build server.
  • Octopus Deploy extracts the nuget package on our SSRS server and calls Deploy-SSRSProject.ps1