tag:help.appveyor.com,2012-11-13:/discussions/questions/19517-using-environment-variable-for-commit-filteringAppVeyor: Discussion 2018-08-25T02:28:22Ztag:help.appveyor.com,2012-11-13:Comment/451249802018-04-18T19:00:23Z2018-04-18T19:00:23Zusing environment variable for commit filtering<div><p>Hi Anand,</p>
<p>Right, those settings are not being substituted with environment variables, but even if they do, I am not sure how the whole scenario will work. Commits filtering happens on central AppVeyor servers, before actual build is started. Therefore if you hydrate <code>folder_path</code> variable during the build, it is too late. If you pass this variable when you start build with API (which I doubt you do), then it is simple to pass specific solution file name and use it in your build script.</p>
<p>If I understand your problem correctly, then it would be simpler to check what files were changed and have your build script to build correct solution. You can use this sample as a reference: <a href="https://gist.github.com/IlyaFinkelshteyn/1deffbd1f73dee326aceb5de88524d6a">https://gist.github.com/IlyaFinkelshteyn/1deffbd1f73dee326aceb5de88...</a></p>
<p>Let us know if this helps and if I understood your problem correctly. If not, provide more detailed description and your current YAML configuration.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/451249802018-04-19T12:37:44Z2018-04-19T12:37:47Zusing environment variable for commit filtering<div><p>Hi Ilya,<br>
Your reply and code led me to solution of my problem.<br>
Thanks for prompt reply.</p></div>Anand Vikramtag:help.appveyor.com,2012-11-13:Comment/451249802018-04-19T16:24:14Z2018-04-19T16:24:14Zusing environment variable for commit filtering<div><p>Good, thanks for update!</p></div>Ilya Finkelshteyn