Jenkinsfile 수정:
- EXT_LIB_DIR 환경변수 추가 - Gradle 빌드에 extLibDir 파라미터 적용
This commit is contained in:
Vendored
+2
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user