Jenkinsfile 수정:

- EXT_LIB_DIR 환경변수 추가
- Gradle 빌드에 extLibDir 파라미터 적용
This commit is contained in:
Rinjae
2026-06-30 09:27:58 +09:00
parent d1683cc319
commit 7193070ebd
Vendored
+2 -1
View File
@@ -19,6 +19,7 @@ pipeline {
CATALINA_HOME = '/prod/eapim/apache-tomcat-9.0.116'
CATALINA_PID = '/prod/eapim/adminportal/temp/catalina.pid'
DEPLOY_HTTP_PORT = '39120'
EXT_LIB_DIR = "${CATALINA_HOME}/lib"
}
stages {
@@ -78,7 +79,7 @@ pipeline {
stage('Build WAR') {
steps {
sh 'gradle clean build -x test --no-daemon'
sh 'gradle clean build -x test --no-daemon -PextLibDir=$EXT_LIB_DIR'
}
post {
success {