Status: Open (View Workflow)
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.
If you are using Cloudbees Enterprise, I recommend contacting them for support.