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

MavenModuleSetBuild swallows InterruptedIOException on doRun

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • None

      Definitely not a deal breaker. Just makes debugging hard

      https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSetBuild.java#L898

      catch (InterruptedIOException e) {
                      e.printStackTrace(listener.error("Aborted Maven execution for InterruptedIOException"));
                      return Executor.currentExecutor().abortResult();
                  }
      

      Propose adding message to printStackTrace. Something like:

      catch (InterruptedIOException e) {
                      e.printStackTrace(listener.error("Aborted Maven execution for InterruptedIOException: " + e.getMessage()));
                      return Executor.currentExecutor().abortResult();
                  }
      

          [JENKINS-35321] MavenModuleSetBuild swallows InterruptedIOException on doRun

          Owen Wood created issue -
          Owen Wood made changes -
          Assignee New: Owen Wood [ owood ]
          Owen Wood made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171570 ] New: JNJira + In-Review [ 185758 ]

            owood Owen Wood
            owood Owen Wood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: