Commit 3217ff56 by 据说甜蜜呢

添加方法GetReplicas

parent f692dccd
......@@ -93,6 +93,12 @@ function GetImageRegistrySettings()
eval $2=${username}
}
function GetReplicas()
{
declare count=($(grep -oP '(?<=Replicas>)[^<]+' "devops/deploy.props"))
eval $1=${count}
}
function GetAccessTokenOf()
{
declare token=($(grep -oP "(?<=${Environment}AccessToken>)[^<]+" "devops/deploy.props"))
......
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