CI: Allow ranCommitID to be "develop"

This will be used to pull images with the tag "develop" (i.e., without a
commit ID).
This commit is contained in:
Raphael Defosseux
2024-11-22 08:23:48 +01:00
committed by Robert Schmidt
parent 5730df9ffc
commit df9aec167e
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ pipeline {
if (eNB_AllowMergeRequestProcess) {
sh "git fetch"
sh "./ci-scripts/doGitLabMerge.sh --src-branch ${eNB_Branch} --src-commit ${eNB_CommitID} --target-branch ${eNB_TargetBranch} --target-commit latest"
} else {
} else if (eNB_CommitID != 'develop') {
sh "git fetch"
sh "git checkout -f ${eNB_CommitID}"
}