The SSRS plugin copies a folder with .rdl files. It then inspects this folder and uploads all of the .rdl files found to the server.

Op 18 jan. 2014, om 07:39 heeft Andrew Phillips <notifications@github.com<mailto:notifications@github.com>> het volgende geschreven:


In deployit-udm-plugins/middleware-plugins/ssrs-plugin/ssrs/deploy-rsreports.ps1:

> +     $myDataSourceDefinition.Extension = "SQL"
> +     $myDataSourceDefinition.CredentialRetrieval = "Integrated"
> +     Write-Host "Creating DataSource for environment."
> +     $proxy.CreateDataSource($DataSourceName, $DataSourceParent, $true, $myDataSourceDefinition, $null)
> +
> +}
> +
> +function UploadReports($reportServerName = $(throw "reportServerName is required."), $fromDirectory = $(throw "fromDirectory is required."), $serverPath = $(throw "serverPath is required."), $DataSourceName = $(throw "DataSourceName is required."), $DataSourcePath = $(throw "DataSourcePath is required."))
> +{
> +
> +    Write-Host "Connecting to $reportServerName"
> +
> +    $reportServerUri = "http://{0}/ReportServer/ReportService2005.asmx?WSDL" -f $reportServerName
> +    $proxy = New-WebServiceProxy -Uri $reportServerUri -UseDefaultCredential
> +
> +    Write-Host "Inspecting $fromDirectory"


Inspecting [$fromDirectory]

—
Reply to this email directly or view it on GitHub<https://github.com/xebialabs/community-plugins/pull/48/files#r8986722>.