Is there a way to exclude certain paths from placeholder scanning. At present there is a property "excludeFileNameRegex" which i believe can only filter files based on extensions, but our requirement is to exclude certain paths from the file.Folder CI. For instance there are certain paths that have content from 3rd party dependencies that are not part of Application source code but need to be packaged along with source code

Comments

  • Thank you for the request.
    We will look for a broader set of users voting and providing their feedback about the changes.

  • The team has conducted an investigation, and we believe it is currently feasible to eliminate specific paths from the scanning of placeholders. For instance, in the scenario where folders "**/_cache" and "**/node_modules/*" need to be excluded, the following expression can be utilized in the excludeFileNameRegex property or the Exclude File Names Regex field in the UI:

    ".*/_cache|node_modules/.*"

    Can you please check and let us know if it satisfies the need?

  • This solution seems viable. I am not aware of any specific use cases within my company that were looking for this, but my team can keep this in mind in case any of our users request this type of exclusion.

  • This works for us. Thank you.