Skip to content
代码片段 群组 项目
提交 d4c4a745 编辑于 作者: Wei Duan(Wilson)'s avatar Wei Duan(Wilson)
浏览文件

Override running_on_dot_com to be compatible with hk saas

上级 68682204
No related branches found
No related tags found
无相关合并请求
......@@ -90,6 +90,11 @@ def customerdot_url
QA::Runtime::Logger.error('QA_JH_ENV and QA_CUSTOMERDOT are both empty!')
end
end
# Override running_on_dot_com to be compatible with hk saas
def running_on_dot_com?
super || URI.parse(QA::Runtime::Scenario.gitlab_address).host.end_with?('.hk')
end
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册