Commit cf7e15f9 by 李二毛

Merge branch 'development' into 'staging'

修改方法IsPublishableOf

See merge request liermao/microservice-autodevopspipelines!72
parents 9131369e 4f628fc7
Pipeline #4246 passed with stages
in 18 seconds
...@@ -133,7 +133,7 @@ function GetKongRouteDomain() ...@@ -133,7 +133,7 @@ function GetKongRouteDomain()
function IsPublishableOf() function IsPublishableOf()
{ {
declare prefix=$0 declare prefix=$1
declare isP=($(grep -oP "(?<=${prefix}Publishable>)[^<]+" "/tmp/cicd.props")) declare isP=($(grep -oP "(?<=${prefix}Publishable>)[^<]+" "/tmp/cicd.props"))
eval $1=isP eval $2=isP
} }
\ No newline at end of file
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