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

Mails with build failure reports misses content for maven job type

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • None
    • Jenkins 1.609.3, Maven Integration 2.11, Email Extension 2.40.5

      We use Maven build jobs and in a case of a build failure send a mail with the email-ext plugin.
      With the default template ${SCRIPT, template="groovy-text.template"} the mail contains the last 100 lines of the build log.
      In cases of missing or wrong maven dependencies the mail ends always with <===[JENKINS REMOTING CAPACITY]===>

      The important error information is missing, but are shown in the console log via the web interface.
      For example:

      [INFO] Resolving dependencies of MavenProject: xxx
      [INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86_64, org.eclipse.update.install.features=true}
      [ERROR] Cannot resolve project dependencies:
      [ERROR] Software being installed: ...
      [ERROR] Missing requirement: ....
      

      The build log should be fixed to contain also this kind of information.

          [JENKINS-31857] Mails with build failure reports misses content for maven job type

          Carsten Kuhl created issue -
          Alex Earl made changes -
          Component/s Original: email-ext-plugin [ 15538 ]
          Alex Earl made changes -
          Assignee Original: Alex Earl [ slide_o_mix ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167319 ] New: JNJira + In-Review [ 182684 ]

            Unassigned Unassigned
            bbio12 Carsten Kuhl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: