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

withMaven should detect when a maven build was interrupted instead of reporting an XML parsing exception

XMLWordPrintable

      When a Maven build is violently interrupted (kill -9, docker killing the process...), the pipeline maven plugin reports an XML parsing exception instead of clearly explaining that the Maven build was killed before its completion.

      ERROR: [withMaven] WARNING Exception parsing the logs generated by the Jenkins Maven Event Spy /var/lib/jenkins/workspace/_appia=gui/F__appia_-_gui_-_master@tmp/withMaven1afdee4c/maven-spy-20170831-215714-662.log, ignore file.  Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org 
      ERROR: org.xml.sax.SAXParseException; lineNumber: 3824; columnNumber: 53; XML document structures must start and end within the same entity.
      

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

              Created:
              Updated:
              Resolved: