We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00e2492 commit 9cb90a5Copy full SHA for 9cb90a5
1 file changed
scripts/start.sh
@@ -30,7 +30,7 @@ fi
30
31
set -x
32
33
-PLUGIN_MODULE="${PLUGIN_MODULE:-}"
+module="$(get_env_var "${PLUGIN_MODULE:-}" "${PARAMETER_MODULE:-}")"
34
PLUGIN_RUN_DIR="${PLUGIN_RUN_DIR:-}"
35
branch="$(get_env_var "${DRONE_BRANCH:-}" "${VELA_PULL_REQUEST_TARGET:-}")"
36
@@ -39,4 +39,4 @@ git config --global user.email "drone@drone.shipt.com"
39
40
41
git fetch --no-tags origin "$branch"
42
-git --no-pager diff --unified=0 origin/"$branch" $PLUGIN_MODULE | $PLUGIN_RUN_DIR/plugin
+git --no-pager diff --unified=0 origin/"$branch" $module | $PLUGIN_RUN_DIR/plugin
0 commit comments