Commit 2fd90593 authored by Raphael Defosseux's avatar Raphael Defosseux

chore(ci): full clean-up of git-submodules

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@openairinterface.org>
parent dbd8fd39
...@@ -519,6 +519,8 @@ OAI CI Team''', ...@@ -519,6 +519,8 @@ OAI CI Team''',
def prepareWorkspaceMergeCase () { def prepareWorkspaceMergeCase () {
sh "git clean -x -d -f > /dev/null 2>&1" sh "git clean -x -d -f > /dev/null 2>&1"
sh "git submodule foreach --recursive 'git clean -x -d -ff' > /dev/null 2>&1"
sh "git submodule deinit --force --all > /dev/null 2>&1"
if ("MERGE".equals(env.gitlabActionType)) { if ("MERGE".equals(env.gitlabActionType)) {
sh "./ci-scripts/doGitLabMerge.sh --src-branch ${env.gitlabSourceBranch} --src-commit ${env.gitlabMergeRequestLastCommit} --target-branch ${env.gitlabTargetBranch} --target-commit ${GIT_COMMIT}" sh "./ci-scripts/doGitLabMerge.sh --src-branch ${env.gitlabSourceBranch} --src-commit ${env.gitlabMergeRequestLastCommit} --target-branch ${env.gitlabTargetBranch} --target-commit ${GIT_COMMIT}"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment