You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/07/31 10:11:08 UTC

[maven] branch MNG-6726 updated: forcily disabled mock-spy on Windows by adding -Dorg.jenkinsci.plugins.pipeline.maven.eventspy.JenkinsMavenEventSpy.disabled=true

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch MNG-6726
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-6726 by this push:
     new 6743757  forcily disabled mock-spy on Windows by adding -Dorg.jenkinsci.plugins.pipeline.maven.eventspy.JenkinsMavenEventSpy.disabled=true
6743757 is described below

commit 6743757ce8bee7f604d27273e93c9fac10c7acc7
Author: tibordigana <ti...@apache.org>
AuthorDate: Wed Jul 31 12:10:58 2019 +0200

    forcily disabled mock-spy on Windows by adding -Dorg.jenkinsci.plugins.pipeline.maven.eventspy.JenkinsMavenEventSpy.disabled=true
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index d64e2b7..aa835b5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -118,7 +118,7 @@ for (String os in runITsOses) {
                                 sh 'cat /home/jenkins/.mavenrc'
                                 sh "export JENKINS_MAVEN_AGENT_DISABLED=true && ${cmd}"
                             } else {
-                                bat "set JENKINS_MAVEN_AGENT_DISABLED=true && ${cmd}"
+                                bat "set JENKINS_MAVEN_AGENT_DISABLED=true && ${cmd} -Dorg.jenkinsci.plugins.pipeline.maven.eventspy.JenkinsMavenEventSpy.disabled=true"
                             }
                         }
                         deleteDir() // clean up after ourselves to reduce disk space