Issue Summary
Rerunning a build result after changing the stage job will cause the build to refresh non-stop
Steps to Reproduce
- Create two Jobs in the same Stage
- First JobA with Script task "sleep 10"
- Second JobB with Script task "echo hello"
- Create two local agents so that both Jobs can be performed at the same time
- Run the build
- Create a new Second Stage without any new Job
- Move the second JobB to the Second Stage
- Rerun the build result in Step 5
Expected Results
JobA will run first before starting JobB.
Actual Results
- JobA and JobB start running at the same time
- JobB finishes first even though it is in the Second Stage
- Even though both Jobs have completed, the main build status is still In Progress
- Clicking on JobB in the build result will make the page refreshing non-stop
Workaround
Restart Bamboo