From 606c6fc857f193b49070fa89b404ad16f40ee538 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Tue, 1 Nov 2022 10:58:44 +0800 Subject: [PATCH] 08jenkins-agent-install-centos.sh --- 00base/08jenkins-agent-install-centos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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