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

Multiple upstream job triggers for downstream job triggers only old build instead of triggering latest build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • other
    • None

      We have a job which builds the image. --> BUILD_JOB

      We have another job that will trigger based on the build job, if it is successful then this job will trigger --> TEST_EXECUTION_JOB.

       

      Now in TEST_EXECUTION_JOB --> A build runs and in execution.

      Now in Queue there are 2 builds --> B and C.

       

      After A builds Completes , It should pick the latest build C , but Jenkins is picking the build B(which is OLD compared to Build C).

       

      I hope I explained correctly.

       

      Attached the screenshot which facing issue in my jenkins job

      In attached screenshot 2 builds came (i.e 858 and 859) 858 is old and 859 is latest. But my jenkins job is taking 858 to run instead of taking 859.

       

      Please provide the solution that something jenkins team to work or I need to modify something in my groovy code.

       

            Unassigned Unassigned
            rpolepal ratna polepalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: