Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43529

Disabled Jenkins Maven Event Spy generates an invalid XML build log file

      When the Jenkins Maven Event Spy is disabled, it generates an invalid XML build log file.

      We get the following message in the build logs

      ERROR: [withMaven] WARNING Exception parsing the logs generated by the Jenkins Maven Event Spy /opt/jenkins/jenkins-home/jobs/plugins/jobs/pipeline-maven-plugin/jobs/disable-maven-spy-with-environment-variable/workspace@tmp/withMaven344c0539/maven-spy-20170411-215312-455.log, ignore file.  Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org 
      

      To reproduce:

      node ("master"){
         git "https://github.com/cyrille-leclerc/game-of-life.git"
         withMaven() {
            sh """
      export JENKINS_MAVEN_AGENT_DISABLED=true
      mvn package
      """
         }
      }

          [JENKINS-43529] Disabled Jenkins Maven Event Spy generates an invalid XML build log file

          Cyrille Le Clerc created issue -
          Cyrille Le Clerc made changes -
          Description Original: When the Jenkins Maven Event Spy is disabled, it generates an invalid XML build log file.

          We get the following message in the build logs
          {noformat}
          ERROR: [withMaven] WARNING Exception parsing the logs generated by the Jenkins Maven Event Spy /opt/jenkins/jenkins-home/jobs/plugins/jobs/pipeline-maven-plugin/jobs/disable-maven-spy-with-environment-variable/workspace@tmp/withMaven344c0539/maven-spy-20170411-215312-455.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org
          {noformat}
          New: When the Jenkins Maven Event Spy is disabled, it generates an invalid XML build log file.

          We get the following message in the build logs
          {noformat}
          ERROR: [withMaven] WARNING Exception parsing the logs generated by the Jenkins Maven Event Spy /opt/jenkins/jenkins-home/jobs/plugins/jobs/pipeline-maven-plugin/jobs/disable-maven-spy-with-environment-variable/workspace@tmp/withMaven344c0539/maven-spy-20170411-215312-455.log, ignore file. Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org
          {noformat}
          To reproduce:
          {code:java}
          node ("master"){
             git "https://github.com/cyrille-leclerc/game-of-life.git"
             withMaven() {
                sh """
          export JENKINS_MAVEN_AGENT_DISABLED=true
          mvn package
          """
             }
          }{code}
          Cyrille Le Clerc made changes -
          Link New: This issue is related to JENKINS-43261 [ JENKINS-43261 ]
          Cyrille Le Clerc made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Cyrille Le Clerc made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Cyrille Le Clerc made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Cyrille Le Clerc made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jason Pyeron made changes -
          Link New: This issue is related to JENKINS-60093 [ JENKINS-60093 ]

            cleclerc Cyrille Le Clerc
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: