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

the plugin got the wrong build number, which is the last build number of the triggered build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • jenkins v1.609.3
      parameterized remote trigger plugin 2.2 and 2.3-snapshot

      when read the build log, i saw that sometime it got a wrong build number, which is the last one of the triggered build. I also readed the source of plugin, and found that "Validate the build number via parameters" try to query build #n-2 to #n+2 (n means the triggered build number), i didn't know why, is there who can tell me? And I guess that query the build immediately after triggered may cause the problem above, because the build may be started to run after a few seconds delay. If add sleep for seconds before build could solve this?

            cashlalala KaiHsiang Chang
            zxq1002 Xiaoqing Zhou
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: