Commit 44f87f78 by 李二毛

Merge branch 'development' into 'rel/major'

Development

See merge request liermao/microservice-autodevopspipelines!13
parents a93a6d0a 712af159
Pipeline #4086 failed with stages
in 31 seconds
......@@ -6,7 +6,6 @@ set -e
chmod +x ./devops/PipeLines/Functions.sh
source ./devops/PipeLines/Functions.sh
declare appName
GetAppName appName
echo ""
echo "Continuous integration for ${appName} starting..."
......@@ -16,8 +15,8 @@ dotnet build ${solutionName}
echo ""
echo "Please check the version of each microservice carefully !!!"
GetVersion version
GetVersion version
GetImageUserName registryUserName
declare publishOutputDir=./publish
......
......@@ -4,7 +4,7 @@ set -e
function GetServices()
{
declare services=$(ls -l src/services | awk 'NR>1')
declare services=$(ls -l ./src/services | awk 'NR>1')
eval $1="${services}"
}
......@@ -17,8 +17,8 @@ function GetServiceName()
function GetAppName()
{
declare appName=($(grep -oP '(?<=AppName>)[^<]+' "devops/app.props"))
eval $1="${appName}"
declare name=($(grep -oP '(?<=AppName>)[^<]+' "./devops/app.props"))
eval $1="${name}"
}
function GetSolutionName()
......
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