Ensure any forked Maven executions are not spied on by Jenkins

This commit is contained in:
Stephen Connolly 2017-12-12 15:31:48 +00:00
parent d4ec6e03f6
commit 8be088a9ef
1 changed files with 7 additions and 0 deletions

View File

@ -129,6 +129,13 @@ under the License.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<environmentVariables>JENKINS_MAVEN_AGENT_DISABLED=true</environmentVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>