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

Build Token Root delays 1000 times longer than expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 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)

       

            Unassigned Unassigned
            zekiyureti Zeki Yureti
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: