ci-fix: Ensure downstream pipeline always uses latest commit for non-MR events

- ensure the local branch is synchronized with the latest commit from the remote.
     - Related MR!77 on mosaic5g/Flexric repository
This commit is contained in:
Shubhika Garg
2026-02-04 11:15:18 +01:00
parent 9cb79027e4
commit df7db3ab27
+1
View File
@@ -115,6 +115,7 @@ pipeline {
} else {
sh "git fetch"
sh "git checkout -f ${commitID}"
sh "git reset --hard origin/${commitID}"
}
} else {
echo "\u274C Some parameters are missing"