diff --git a/00base/08jenkins-agent-install-centos.sh b/00base/08jenkins-agent-install-centos.sh index e41dd46..5230802 100644 --- a/00base/08jenkins-agent-install-centos.sh +++ b/00base/08jenkins-agent-install-centos.sh @@ -412,8 +412,8 @@ if [[ "${INIT_TAG:-}" == "1" ]]; then [[ "${GIT_TAG:-}" == "1" ]] && { init:git; } [[ "${JAVA_TAG:-}" == "1" ]] && { init:java; } [[ -n "${GRADLE_VERSION:-}" ]] && { init:gradle; } - [[ -n "${MAVEN_TAG:-}" ]] && { init:maven; } - [[ -n "${NODEJS_TAG:-}" ]] && { init:nodejs; } + [[ -n "${MAVEN_VERSION:-}" ]] && { init:maven; } + [[ -n "${NODEJS_VERSION:-}" ]] && { init:nodejs; } else help::usage fi