As indicated originally, the plugin supports both include and exclude filters. When you configure the filter (include or exclude) correctly, it is passed on the 'si viewproject' command as illustrated below with an INCLUDE filter (--filter=file:*.java,file:pom.xml*):
si viewproject --user=administrator --port=7001 --hostname=cdsouzaltw7 --recurse --project=#/Projects/IntegrityDocs --fields=name,context,cpid,memberrev,membertimestamp,memberdescription,type --filter=file:*.java,file:pom.xml
The above command was extracted from the Jenkins Logs when a polling ran. If you are not seeing this behavior, then chances are:
- You have to configure the include/exclude filter correctly
- You're changing the filter too often (ex: build to build)?
- The viewproject command is not working correctly with the filter specified
If you have an issues with the viewproject command not working correctly, then please make sure you are using a supported version of Integrity (10.5+). If you are on a supported version, then you'll need to reproduce the command (si viewproject) and submit an issue with PTC Customer Support as this is a problem with the command and not the plugin