When triggering a remote build the plugin tries to determine the next job number in advance. After calling start on the remote job It then checks if the job is started.

      In our case the first call to our job returns an empty response, probably because it takes too long to initialize. The plugin then tries to iterate older jobs and probably even finds one that has the same paramters. This can then lead to not waiting for the job to be build.

      In our case this is critical because we are starting several remote jobs that need to be run sequentially. So the next job gets startet too early and both jobs are run in parallel when they should be executed sequentially.

      Workaround: Add a timestamp parameter to the build so that all execution parameter sets are unique.

      Pull request with a better fix coming soon.,

          [JENKINS-31259] Checking remote job needs delay

          Florian Hopf added a comment -

          Florian Hopf added a comment - Pull request is at https://github.com/jenkinsci/parameterized-remote-trigger-plugin/pull/17

          We're experiencing the same problem. It's pretty severe all of a sudden, I don't know why. Maybe I've only just started noticing it. I tried the workaround but it doesn't seem to help.

          Hilton Campbell added a comment - We're experiencing the same problem. It's pretty severe all of a sudden, I don't know why. Maybe I've only just started noticing it. I tried the workaround but it doesn't seem to help.

          marlene cote added a comment -

          can we get this fix please?

          marlene cote added a comment - can we get this fix please?

          fixed in v3.0.1

          KaiHsiang Chang added a comment - fixed in v3.0.1

            cashlalala KaiHsiang Chang
            fhopf Florian Hopf
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: