Project 'liermao/microservice-autodevopspipelines' was moved to 'lichunsheng/microservice-autodevopspipelines'. Please update any links and bookmarks that may still have the old path.
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 ...@@ -6,7 +6,6 @@ set -e
chmod +x ./devops/PipeLines/Functions.sh chmod +x ./devops/PipeLines/Functions.sh
source ./devops/PipeLines/Functions.sh source ./devops/PipeLines/Functions.sh
declare appName
GetAppName appName GetAppName appName
echo "" echo ""
echo "Continuous integration for ${appName} starting..." echo "Continuous integration for ${appName} starting..."
...@@ -16,8 +15,8 @@ dotnet build ${solutionName} ...@@ -16,8 +15,8 @@ dotnet build ${solutionName}
echo "" echo ""
echo "Please check the version of each microservice carefully !!!" echo "Please check the version of each microservice carefully !!!"
GetVersion version
GetVersion version
GetImageUserName registryUserName GetImageUserName registryUserName
declare publishOutputDir=./publish declare publishOutputDir=./publish
......
...@@ -4,7 +4,7 @@ set -e ...@@ -4,7 +4,7 @@ set -e
function GetServices() function GetServices()
{ {
declare services=$(ls -l src/services | awk 'NR>1') declare services=$(ls -l ./src/services | awk 'NR>1')
eval $1="${services}" eval $1="${services}"
} }
...@@ -17,8 +17,8 @@ function GetServiceName() ...@@ -17,8 +17,8 @@ function GetServiceName()
function GetAppName() function GetAppName()
{ {
declare appName=($(grep -oP '(?<=AppName>)[^<]+' "devops/app.props")) declare name=($(grep -oP '(?<=AppName>)[^<]+' "./devops/app.props"))
eval $1="${appName}" eval $1="${name}"
} }
function GetSolutionName() 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