mmajcica / DeploySsrs

Build-Release task for VSTS/TFS that manages Microsoft's SQL Server Reporting Services
MIT License
21 stars 21 forks source link

Error: Provided files folder path is not valid #5

Closed rp557rajendra closed 6 years ago

rp557rajendra commented 6 years ago

Issue: I am facing issue with Report Files Path. Error is - ##[error]Provided files folder path.

Overview: I am using VSTS with On-premise build agent and OAuthToken has been set. I have provided Report Files Paths as "*/.rdl " assuming it will pick up all the .rdl files in my $(build.sourcesDirectory) path. There are .rdl files in the subfolder of $(build.sourcesDirectory).However, I am still facing the issue.

Screenshots image

image

image

mmajcica commented 6 years ago

Hi,

the documentation is a bit of a mess. It is expected from the task to receive a folder where all of the rdl's are located. Something like $(build.sourcesDirectory)\your\rdl\folder

Can you try that and I'll soon update the documentation?

Cheers

rp557rajendra commented 6 years ago

Thank you for the quick response.

Based on your feedback and relooking into the issue, it seems Report Files Paths should be a folder name where the report exists(ex:$(build.sourcesDirectory)\your\rdl\folder).

It is not working if Report Files Paths is provided as below 1) Complete Report file name(ex: $(build.sourcesDirectory)\your\rdl\folder\myreport.rdl) or 2) Wild cards ($(build.sourcesDirectory)\your\rdl\folder*/.rdl or */.rdl) as specified in documentation / VSTS help text message(attached screenshot). So , please fix it/change documentation.

screenshot image

I am able to fix this Report File Path issue by specifying with Report Folder name. I am facing issues with ReportConfiguration.xml.

You can close this ticket. Will raise a new ticket, if I find any issues with ReportConfiguration.xml.

mmajcica commented 6 years ago

Indeed the docs are misleading. I need to improve on that and somewhere in September, I'll do so.

mmajcica commented 6 years ago

Also, SSRS task is quite similar to SSIS task. You may read more about it here http://blog.majcica.com/2018/04/25/deploy-ssis-packages-from-tfs-vsts-build-release/

Hopefully, it will answer your questions regarding the configuration