Commit 91397362 by 据说甜蜜呢

添加方法GetSolutionName

parent 2981db1d
Pipeline #4082 passed with stage
in 16 seconds
......@@ -10,7 +10,7 @@ declare appName
GetAppName appName
echo "Continuous integration for ${appName} starting..."
declare solutionName=($(grep -oP '(?<=SolutionName>)[^<]+' "devops/app.props"))
GetSolutionName solutionName
dotnet build ${solutionName}
echo "Please check the version of each microservice carefully !!!"
......
......@@ -21,6 +21,12 @@ function GetAppName()
eval $1="${appName}"
}
function GetSolutionName()
{
declare name=($(grep -oP '(?<=SolutionName>)[^<]+' "./devops/app.props"))
eval $1="${name}"
}
function GetImageUserName()
{
declare name=($(grep -oP '(?<=ImageUserName>)[^<]+' "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