diff --git a/Jenkinsfile b/Jenkinsfile index 9b55357..3bb1a9e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {