提交 33df7c9b 编写于 作者: D Daming 提交者: wu-sheng

[test/plugin] Don't copy all optional plugins by default (#3781)

* Not support copy all optional plugins

* fix

* Update test/plugin/run.sh

to correct the mistakes of grammar
Co-Authored-By: Nkezhenxu94 <kezhenxu94@163.com>
上级 cdb02d56
......@@ -143,7 +143,7 @@ test -z "$scenario_name" && exitWithMessage "Missing value for the scenario argu
if [[ ! -d ${agent_home} ]]; then
echo "[WARN] SkyWalking Agent not exists"
${mvnw} -f ${home}/../../pom.xml -Pagent -DskipTests clean package
${mvnw} -f ${home}/../../pom.xml -Pagent -DskipTests -DBUILD_NO=${BUILD_NO:=local} clean package
fi
[[ "$force_build" == "on" ]] && ${mvnw} -f ${home}/pom.xml clean package -DskipTests docker:build
......@@ -172,9 +172,8 @@ running_mode=$(grep "^runningMode" ${scenario_home}/configuration.yml |sed -e "s
with_plugins=$(grep "^withPlugins" ${scenario_home}/configuration.yml |sed -e "s/ //g" |awk -F: '{print $2}')
if [[ -n "${running_mode}" ]]; then
# [[ -z "${with_plugins}" ]] ; then&& exitWithMessage \
# "'withPlugins' has required configuration when 'runningMode' was set as 'optional_plugins' or 'bootstrap_plugins'"
[[ -z "${with_plugins}" ]] && with_plugins="*.jar"
[[ -z "${with_plugins}" ]] && exitWithMessage \
"'withPlugins' is required configuration when 'runningMode' was set as 'optional_plugins' or 'bootstrap_plugins'"
agent_home_selector ${running_mode} ${with_plugins}
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册