Ensure any forked Maven executions are not spied on by Jenkins

This commit is contained in:
Stephen Connolly 2017-12-13 00:45:00 +00:00
parent a670c2ea1f
commit eee06f7d7c
1 changed files with 3 additions and 1 deletions

View File

@ -462,7 +462,9 @@ under the License.
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>-Xmx256m</argLine> <argLine>-Xmx256m</argLine>
<environmentVariables>JENKINS_MAVEN_AGENT_DISABLED=true</environmentVariables> <environmentVariables>
<JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
</environmentVariables>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>