Build Token Root delays 1000 times longer than expected

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Environment:
      Jenkins LTS 2.150.3
      Lots of plugins including Build Token Root Plugin (version 1.4)
      Windows Server 2016 / Windows 10
    • 1.7

      We are using the Build Token Root Plugin (version 1.4) to trigger builds with a HTTP GET request, and have noticed that when we pass a delay parameter, the actual delay (shown in the build queue) is significantly longer than requested.

      http://server:8080/buildByToken/buildWithParameters?job=ajobname&token=thetoken&param=value&delay=900sec
      delay=900sec => 10 days
      delay=30sec => 8 hr
      delay=1sec => 16 min

      It looks like those were 1000 times longer than they should have been.

      900000 seconds = 10.4 days
      30000 seconds = 8.3 hours
      1000 seconds = 16.6 mins

      My guess is that this is related to JENKINS-44052 (passing a value in milliseconds to a function expecting seconds)

       

            Assignee:
            Unassigned
            Reporter:
            Zeki Yureti
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: