change
This commit is contained in:
parent
2e8095af58
commit
ef439aca5f
|
@ -27,9 +27,11 @@ class SyncRepositoryJob < ApplicationJob
|
||||||
|
|
||||||
shell5 = system("cd #{path}/#{image_repo_name} && git checkout #{g_default_branch} && git push --force --set-upstream origin #{g_default_branch}")
|
shell5 = system("cd #{path}/#{image_repo_name} && git checkout #{g_default_branch} && git push --force --set-upstream origin #{g_default_branch}")
|
||||||
if !shell5
|
if !shell5
|
||||||
|
SyncLog.sync_project_log("=============force_push_erros==#{path}/#{image_repo_name}++new_gitlab_url+++#{new_gitlab_url}")
|
||||||
SyncLog.sync_log("++++++++++++++++++force_push_erros++++++++++++++++++##{path}/#{image_repo_name}++++++new_gitlab_url+++#{new_gitlab_url}")
|
SyncLog.sync_log("++++++++++++++++++force_push_erros++++++++++++++++++##{path}/#{image_repo_name}++++++new_gitlab_url+++#{new_gitlab_url}")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
SyncLog.sync_project_log("=============check_clone_erros==#{path}/#{image_repo_name}")
|
||||||
SyncLog.sync_log("++++++++++++++++++check_clone_erros++++++++++++++++++#{image_repo_name}")
|
SyncLog.sync_log("++++++++++++++++++check_clone_erros++++++++++++++++++#{image_repo_name}")
|
||||||
end
|
end
|
||||||
SyncLog.sync_log("=================end to sync repository=====================#{image_repo_name}")
|
SyncLog.sync_log("=================end to sync repository=====================#{image_repo_name}")
|
||||||
|
|
Loading…
Reference in New Issue