I think it already does.


Op 18 jan. 2014, om 07:40 heeft Andrew Phillips <notifications@github.com<mailto:notifications@github.com>> het volgende geschreven:


In deployit-udm-plugins/middleware-plugins/ssrs-plugin/ssrs/destroy-rsreports.ps1:

> +     $ssrsProxy = New-WebServiceProxy -Uri $webServiceUrl -UseDefaultCredential
> +
> +     #Set Report Folder
> +     if(!$reportPath.StartsWith("/")) { $reportPath = "/" + $reportPath }
> +
> +     try
> +     {
> +             Write-Host "Deleting: $reportPath"
> +             #Call Proxy to upload report
> +             $ssrsProxy.DeleteItem($reportPath)
> +             Write-Host "Delete Success."
> +     }
> +     catch [System.Web.Services.Protocols.SoapException]
> +     {
> +             $msg = "Error while deleting report : '{0}', Message: '{1}'" -f $reportPath, $_.Exception.Detail.InnerText
> +             Write-Error $msg


Should this cause an Exit 1?

—
Reply to this email directly or view it on GitHub<https://github.com/xebialabs/community-plugins/pull/48/files#r8986729>.