We fail to find build results from older builds after we manipulate the plan confuration.
We have a buid plan with three stage, let's call them:
Now we decide to Build and Test in one step, so we change the plan to:
All the result and logs from the previosuly existing stage "Checkout Build" are not accessible anymore. The stage still appears on the result view of previous builds, but no jobs of them are displayed.
All results and logs of the build jobs are always accessible, independently from the previous and current configurations.
How can we preserve all build results and all the log files which are produced during the build process, even if the plan configuration has changed?
Does it matter? ;)
This is something we realized is necessary to support plan branches better (see: https://jira.atlassian.com/browse/BAM-14215 for instance) and it was simpler and made a lot of sense to implement it for all cases where plan configuration stored in DB doesn't match the results.
So, you can say, it started as a (seemingly unrelated) bug and the we realized the best way to fix the bug is to add a missing feature as well.