JenkinsTriggerHelper can wait for too long if job allows concurrent builds

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: java-client-api
    • None

      After triggering a build, JenkinsTriggerHelper waits untilĀ job.isInQueue() returns false. But this only checks if any build of theĀ job is in the queue, not the particular build weĀ triggered.

      An alternative is to wait until queueItem.getExecutable() returns non-null.

            Assignee:
            Staffan Larsen
            Reporter:
            Staffan Larsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: