Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Wild cards support in Report Files Path #7

Open
rp557rajendra opened this issue Aug 7, 2018 · 5 comments
Open

Need Wild cards support in Report Files Path #7

rp557rajendra opened this issue Aug 7, 2018 · 5 comments

Comments

@rp557rajendra
Copy link

I have various reports with logical grouping under $(Build.SourcesDirectory) as below. I have tried various match pattern options on Report Files Path to do deployment but in vain.

Reports source folder path
$(Build.SourcesDirectory)*grp1*\bin\release\1.rdl
$(Build.SourcesDirectory)*grp1*\bin\release\2.rdl
$(Build.SourcesDirectory)*grp2*\bin\release\3.rdl
$(Build.SourcesDirectory)*grp3*\bin\release\4.rdl

Few of Match Patterns I have tried
*\bin*
*\bin\release*
$(Build.SourcesDirectory)*\bin*

However, I have found a workaround for this. Usage of the VSTS COPY FILES task with FLATTEN FOLDERS option can resolve it. Would be great, if you can fix this issue in your DEPLOY SSRS task with the match patterns?

@rp557rajendra
Copy link
Author

Any update on this?

@mmajcica
Copy link
Owner

Hi, it was not in my plans to implement such a feature. You are always welcome to submit a PR.

@steveosacky
Copy link

This feature is not working as it is described in the extension.
Wildcards can be used. For example, **/*.rdl for RDL files present in all sub folders.
I have used $(System.DefaultWorkingDirectory)/$(Build.DefinitionName)/Reports Folder/**/*.rdl AND $(System.DefaultWorkingDirectory)/$(Build.DefinitionName)/Reports Folder/*.rdl These both return an invalid path error.

@rp557rajendra
Copy link
Author

I have found a workaround for this. Usage of the VSTS COPY FILES task with FLATTEN FOLDERS option can resolve it.That did trick for me.

@mwhisler
Copy link

Wildcard support doesn't work for me either. Feels like something got missed here. I'm going to have to use other file copy tasks in the pipeline to arrange the RDL files in a single directory before calling the SSRS deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants