我在詹金斯看起来像各种工作Repo_URLs:shell脚本中提取的应用程序名称
ssh://[email protected]:7999/sad/agreement-edge.git
ssh://[email protected]:7999/che/agreement-middle.git
ssh://[email protected]:7999/char/login-edge.git
我需要提取协议边缘,协议中间人,从中登录边缘。
比方说,回购URL被设置为可变
RepoEndpoint = SSH://[email protected]:7999 /悲伤/协议-edge.git
我如何提取协议边缘呢?
随着SED:'回声 “$ RepoEndpoint” | sed's |。*/||; s | \ .. * ||'' – Cyrus