Project 'liermao/microservice-autodevopspipelines' was moved to 'lichunsheng/microservice-autodevopspipelines'. Please update any links and bookmarks that may still have the old path.
Commit a93a6d0a by 李二毛

Merge branch 'development' into 'rel/major'

优化代码

See merge request liermao/microservice-autodevopspipelines!12
parents 7b3c2f97 816c43ce
Pipeline #4084 failed with stages
in 29 seconds
......@@ -8,11 +8,13 @@ source ./devops/PipeLines/Functions.sh
declare appName
GetAppName appName
echo ""
echo "Continuous integration for ${appName} starting..."
declare solutionName=($(grep -oP '(?<=SolutionName>)[^<]+' "devops/app.props"))
GetSolutionName solutionName
dotnet build ${solutionName}
echo ""
echo "Please check the version of each microservice carefully !!!"
GetVersion version
......
......@@ -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