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

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

    Details

    • Similar Issues:

      Description

      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
      """
         }
      }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: