bmoers / sn-cicd

CICD Server for Service-Now
GNU Lesser General Public License v3.0
44 stars 35 forks source link

Incorrect baselineCommitId for merged-deployment after a fix-deployment #100

Closed g-matharu closed 3 years ago

g-matharu commented 3 years ago

Scenario

Update Set Name Merge Sequence Commit ID Deployed to Target
UpdateSet1 1 commit-1 :heavy_check_mark:
UpdateSet2 2 commit-2
FIX: UpdateSet3 3 commit-3 :x:
UpdateSet4 4 commit-4
UpdateSet5 5 commit-5
Deploy commit-3 to Target; As expected, commit-2 is not deployed since commit-3 is a FIX deployment Update Set Name Merge Sequence Commit ID Deployed to Target
UpdateSet1 1 commit-1 :heavy_check_mark:
UpdateSet2 2 commit-2
FIX: UpdateSet3 3 commit-3 ✔️
UpdateSet4 4 commit-4
UpdateSet5 5 commit-5
Now deploy commit-5 to Target, Finding: commit-2 is still not deployed to Target Cause: baselineCommitId should ideally be commit-1 and not commit-3 Update Set Name Merge Sequence Commit ID Deployed to Target
UpdateSet1 1 commit-1 :heavy_check_mark:
UpdateSet2 2 commit-2
FIX: UpdateSet3 3 commit-3 ✔️
UpdateSet4 4 commit-4 ✔️
UpdateSet5 5 commit-5 ✔️