native-build-tools icon indicating copy to clipboard operation
native-build-tools copied to clipboard

-DagentOptions=access-filter-file=access-filter.json not taken in account

Open sdeleuze opened this issue 3 years ago • 0 comments

As shown in this branch with the samples/commandlinerunner-agent project, passing -DagentOptions=access-filter-file=access-filter.json (I also tried the absolute path variant) does not seems to be taken in account (no filtering of JUnit entries for example) while it works when specified in the pom.xml:

<configuration>
	<agent>
		<enabled>true</enabled>
		<options name="test">
			<option>access-filter-file=${basedir}/access-filter.json</option>
		</options>
	</agent>
</configuration>

To be checked on Gradle side as well.

sdeleuze avatar Feb 15 '22 12:02 sdeleuze