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

Jenkins can't monitor external job if master has no executor set

    XMLWordPrintable

Details

    Description

      Run#run(Runner job) uses Charset charset = Computer.currentComputer().getDefaultCharset() to get the local encoding to write the build log. When Jenkins master is configured with 0 executors (delegating 100% work to slaves), currentComputer() returns null, so a NullPointerException and run is recorded as FAILED.

      hudson.model.Run handleFatalBuildProblem
      SEVERE: #13 failed to build and we don't even have a listener
      java.lang.NullPointerException

      Attachments

        Activity

          ndeloof Nicolas De Loof created issue -
          ndeloof Nicolas De Loof made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jglick Jesse Glick made changes -
          Component/s external-monitor-job [ 17123 ]
          Component/s core [ 15593 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144292 ] JNJira + In-Review [ 191012 ]

          People

            ndeloof Nicolas De Loof
            ndeloof Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: