Commit 1209e2f3 by 据说甜蜜呢

修改方法GetCiCdSettings

parent 9e77ac38
Pipeline #4078 passed with stage
in 15 seconds
...@@ -19,6 +19,8 @@ function GetCiCdSettings() ...@@ -19,6 +19,8 @@ function GetCiCdSettings()
{ {
declare allPublishable=($(grep -oP '(?<=AllPublishable>)[^<]+' "/tmp/cicd.props")) declare allPublishable=($(grep -oP '(?<=AllPublishable>)[^<]+' "/tmp/cicd.props"))
declare noPublishable=($(grep -oP '(?<=NoPublishable>)[^<]+' "/tmp/cicd.props")) declare noPublishable=($(grep -oP '(?<=NoPublishable>)[^<]+' "/tmp/cicd.props"))
eval $1=${allPublishable}
eval $2=${noPublishable}
} }
function GetMajor() function GetMajor()
......
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