MavenModuleSetBuild swallows InterruptedIOException on doRun

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: 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();
                  }
      

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

              Created:
              Updated: