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

Better error message when killing an executing job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      It would be nice if hudson could give an error message that explains the build
      was aborted instead of printing the java.lang.InterruptedException stacktrace.
      I have found that many of my developers are confused and they think it the
      project's code that is causing the excpetion. See example output below:

      [INFO] [resources:testResources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:testCompile]
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:474)
      at hudson.remoting.Request.call(Request.java:81)
      at hudson.remoting.Channel.call(Channel.java:240)
      at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:277)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:127)
      at hudson.model.Run.run(Run.java:559)
      at hudson.maven.MavenBuild.run(MavenBuild.java:128)
      at hudson.model.Executor.run(Executor.java:59)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jasonchaffee Jason Chaffee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: