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

External jobs submitted via XML over HTTP do not persist the duration correctly.

    XMLWordPrintable

    Details

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

      Description

      When submitting external jobs pro programatically as described in
      https://hudson.dev.java.net/cron.html the duration is not stored correctly. It
      shows up for a minute or so and then is reset to zero in the graph display and
      the graph gets wonky.

      Sample submitted job XML:
      <run><log
      encoding='hexBinary'>576564204d61722032382031363a30373a3035204d535420323030370a0a</log><result>0</result><duration>5000</duration></run>

        Attachments

          Activity

          Hide
          gumshoe gumshoe added a comment -

          External jobs executed by launching hudson.jar on a host have the same problem.

          Show
          gumshoe gumshoe added a comment - External jobs executed by launching hudson.jar on a host have the same problem.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.95.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.95.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gumshoe gumshoe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: