Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-14116] Update to older revision
Added check to generation of change set between previous workspace (prevRev) and current workspace (thisRev) to correctly handle case when prevRev > thisRev. Change set covers commits [prevRev+1, thisRev], which is backwards when updating to an older revision, resulting in an incorrect summary and, if prevRev=HEAD, throwing exceptions and failing the build since HEAD+1 does not exist. Solution: if prevRev > thisRev, swap values before generating change set.
- Loading branch information