Merge branch 'jenkins_with_weblogic' of ssh://192.168.240.178:18081/eapim/eapim-online into jenkins_with_weblogic
This commit is contained in:
@@ -25,9 +25,38 @@
|
||||
|
||||
<!-- url: The JDBC connection url for connecting to your MySQL database.
|
||||
-->
|
||||
<Resource name="jdbc/dsOBP_AGW" auth="Container" type="javax.sql.DataSource"
|
||||
<!--
|
||||
<Resource name="NDAPIGW_APP_NXA" auth="Container" type="javax.sql.DataSource"
|
||||
maxTotal="10" initialSize="10" maxIdle="10" maxActive="10" maxWaitMillis="10000"
|
||||
poolPreparedStatements="true" validationQuery="SELECT 1" validationInterval="600000"
|
||||
username="apigw" password="apigw" driverClassName="com.mysql.jdbc.Driver"
|
||||
url="jdbc:mysql://192.168.8.30:13306/apigw"/>
|
||||
-->
|
||||
<!-- APIGW myPC MySql 5.7 -->
|
||||
|
||||
<Resource name="jndi/dsAPIGW" auth="Container" type="javax.sql.DataSource"
|
||||
maxTotal="10" initialSize="10" maxIdle="10" maxActive="10" maxWaitMillis="10000"
|
||||
poolPreparedStatements="true" validationQuery="SELECT 1" validationInterval="600000"
|
||||
username="apigw" password="apigw" driverClassName="com.mysql.cj.jdbc.Driver"
|
||||
url="jdbc:mysql://localhost:3306/apigw"/>
|
||||
|
||||
|
||||
|
||||
<!-- APIGW -->
|
||||
<!--
|
||||
<Resource name="jndi/dsAPIGW" auth="Container" type="javax.sql.DataSource"
|
||||
maxTotal="10" maxIdle="10" maxWaitMillis="10000"
|
||||
username="apigw" password="apigw1234" driverClassName="oracle.jdbc.OracleDriver"
|
||||
url="jdbc:oracle:thin:@//localhost:1521/XE"/>
|
||||
-->
|
||||
|
||||
<!-- APIGW 유차장 ORACLE-->
|
||||
|
||||
<Resource name="jdbc/dsOBP_AGW" auth="Container" type="javax.sql.DataSource"
|
||||
maxTotal="10" maxIdle="10" maxWaitMillis="10000"
|
||||
username="AGWAPP" password="AGWAPP123!" driverClassName="oracle.jdbc.OracleDriver"
|
||||
url="jdbc:oracle:thin:@192.168.240.177:1599:DAPM"/>
|
||||
url="jdbc:oracle:thin:@//192.168.240.177:1599/DAPM"/>
|
||||
|
||||
|
||||
|
||||
</Context>
|
||||
@@ -18,7 +18,9 @@ shutdown.wait.intervalms=1000
|
||||
# message function
|
||||
# use default options
|
||||
# async queue
|
||||
use.internal.queue=true
|
||||
// below false to test Weblogic JMS, jwhong
|
||||
#use.internal.queue=true
|
||||
use.internal.queue=false
|
||||
# sync-async mapping
|
||||
use.internal.topic=true
|
||||
# restore mapping
|
||||
|
||||
@@ -34,9 +34,7 @@
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>/WEB-INF/applicationContext.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- Weblogic 14.1.2 서블릿 설정 -->
|
||||
<!--
|
||||
<servlet>
|
||||
<servlet-name>default</servlet-name>
|
||||
<servlet-class>weblogic.servlet.FileServlet</servlet-class>
|
||||
@@ -45,7 +43,7 @@
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/static/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
|
||||
<!-- oAuth 2.0 인증서버 설정 -->
|
||||
<servlet>
|
||||
<servlet-name>authserver</servlet-name>
|
||||
@@ -71,6 +69,7 @@
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Dynamic REST API 어댑터 설정 -->
|
||||
<!--
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>RestApiDynamicInAdapter</servlet-name>
|
||||
@@ -82,7 +81,7 @@
|
||||
<url-pattern>/API/*</url-pattern>
|
||||
<url-pattern>/api/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
-->
|
||||
<!--
|
||||
<listener>
|
||||
<listener-class>com.eactive.eai.adapter.http.async.AppContextListener</listener-class>
|
||||
|
||||
@@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app id="servlet-3_0" version="3.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
|
||||
|
||||
<description/>
|
||||
<display-name>ONLWeb</display-name>
|
||||
<filter>
|
||||
<filter-name>FrontFilter</filter-name>
|
||||
<filter-class>com.eactive.eai.admin.FrontFilter</filter-class>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>FrontFilter</filter-name>
|
||||
<url-pattern>/HTT/*</url-pattern>
|
||||
<url-pattern>/WebAgent/*</url-pattern>
|
||||
<url-pattern>/adapter/*</url-pattern>
|
||||
<url-pattern>/agent/*</url-pattern>
|
||||
<url-pattern>/common/*</url-pattern>
|
||||
<url-pattern>/management/*</url-pattern>
|
||||
<url-pattern>/mgr/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<context-param>
|
||||
<param-name>logbackDisableServletContainerInitializer</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
</listener>
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>/WEB-INF/applicationContext.xml</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- Weblogic 14.1.2 서블릿 설정 -->
|
||||
<servlet>
|
||||
<servlet-name>default</servlet-name>
|
||||
<servlet-class>weblogic.servlet.FileServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>default</servlet-name>
|
||||
<url-pattern>/static/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- oAuth 2.0 인증서버 설정 -->
|
||||
<servlet>
|
||||
<servlet-name>authserver</servlet-name>
|
||||
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>authserver</servlet-name>
|
||||
<url-pattern>/</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<filter>
|
||||
<filter-name>springSecurityFilterChain</filter-name>
|
||||
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
|
||||
<init-param>
|
||||
<param-name>contextAttribute</param-name>
|
||||
<param-value>org.springframework.web.servlet.FrameworkServlet.CONTEXT.authserver</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>springSecurityFilterChain</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Dynamic REST API 어댑터 설정 -->
|
||||
<!-- <servlet>-->
|
||||
<!-- <description/>-->
|
||||
<!-- <servlet-name>RestApiDynamicInAdapter</servlet-name>-->
|
||||
<!-- <servlet-class>com.eactive.eai.adapter.http.dynamic.RestApiAdapterMain</servlet-class>-->
|
||||
<!-- <load-on-startup>2</load-on-startup>-->
|
||||
<!-- </servlet>-->
|
||||
<!-- <servlet-mapping>-->
|
||||
<!-- <servlet-name>RestApiDynamicInAdapter</servlet-name>-->
|
||||
<!-- <url-pattern>/API/*</url-pattern>-->
|
||||
<!-- <url-pattern>/api/*</url-pattern>-->
|
||||
<!-- </servlet-mapping>-->
|
||||
|
||||
<!--
|
||||
<listener>
|
||||
<listener-class>com.eactive.eai.adapter.http.async.AppContextListener</listener-class>
|
||||
</listener>
|
||||
<listener>
|
||||
<listener-class>com.eactive.eai.adapter.http.async.AppAsyncListener</listener-class>
|
||||
</listener>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>LUGroupServlet</servlet-name>
|
||||
<servlet-class>com.eactive.eai.adapter.wca.servlet.LUGroupServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>LUInfoServlet</servlet-name>
|
||||
<servlet-class>com.eactive.eai.adapter.wca.servlet.LUInfoServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>LURegisterServlet</servlet-name>
|
||||
<servlet-class>com.eactive.eai.adapter.wca.servlet.LURegisterServlet</servlet-class>
|
||||
</servlet>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<servlet-mapping>
|
||||
<servlet-name>LUGroupServlet</servlet-name>
|
||||
<url-pattern>/LUGroupServlet.do</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>LUInfoServlet</servlet-name>
|
||||
<url-pattern>/LUInfoServlet.do</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>LURegisterServlet</servlet-name>
|
||||
<url-pattern>/LURegisterServlet.do</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>WebAgent</servlet-name>
|
||||
<servlet-class>com.eactive.eai.agent.web.WebAgent</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>WebAgent</servlet-name>
|
||||
<url-pattern>/WebAgent</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>Dynamic</servlet-name>
|
||||
<servlet-class>com.eactive.eai.adapter.http.dynamic.HttpAdapterMain</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>Dynamic</servlet-name>
|
||||
<url-pattern>/HTT/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!--
|
||||
<servlet>
|
||||
<description/>
|
||||
<servlet-name>AsyncServlet</servlet-name>
|
||||
<servlet-class>com.eactive.eai.adapter.http.async.AsyncServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>com.ibm.ws.webcontainer.async-supported</param-name>
|
||||
<param-value>true</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>AsyncServlet</servlet-name>
|
||||
<url-pattern>/AsyncServlet</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
<error-page>
|
||||
<error-code>500</error-code>
|
||||
<location>/error.jsp</location>
|
||||
</error-page>
|
||||
|
||||
</web-app>
|
||||
@@ -1,19 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
|
||||
<context-root>/</context-root>
|
||||
<session-descriptor>
|
||||
<timeout-secs>1800</timeout-secs>
|
||||
<cookie-name>JSESSIONID_ONL</cookie-name>
|
||||
<persistent-store-type>replicated_if_clustered</persistent-store-type>
|
||||
</session-descriptor>
|
||||
<container-descriptor>
|
||||
<prefer-application-packages>
|
||||
<packate-name>org.apach.ignite.*</packate-name>
|
||||
<package-name>org.slf4j.*</package-name>
|
||||
<package-name>ch.qos.logback.*</package-name>
|
||||
</prefer-application-packages>
|
||||
<prefer-application-resources>
|
||||
<resource-name>org/slf4j/impl/StaticLoggerBinder.class</resource-name>
|
||||
</prefer-application-resources>
|
||||
</container-descriptor>
|
||||
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app">
|
||||
|
||||
<context-root>/</context-root>
|
||||
<session-descriptor>
|
||||
<timeout-secs>1800</timeout-secs>
|
||||
<cookie-name>JSESSIONID_EMS</cookie-name>
|
||||
<persistent-store-type>replicated_if_clustered</persistent-store-type>
|
||||
</session-descriptor>
|
||||
|
||||
<container-descriptor>
|
||||
<prefer-application-packages>
|
||||
<package-name>org.apach.ignite.*</package-name>
|
||||
<package-name>org.slf4j.*</package-name>
|
||||
<package-name>ch.qos.logback.*</package-name>
|
||||
</prefer-application-packages>
|
||||
<prefer-application-resources>
|
||||
<resource-name>org/slf4j/impl/StaticLoggerBinder.class</resource-name>
|
||||
</prefer-application-resources>
|
||||
</container-descriptor>
|
||||
</weblogic-web-app>
|
||||
+48
-39
@@ -46,6 +46,15 @@ compileJava {
|
||||
}
|
||||
|
||||
war {
|
||||
// 2025.10.13 - weblogic 대응 (weblogic-web.xml -> web.xml 강제 사용)
|
||||
def profile = project.findProperty("profile") ?: "tomcat"
|
||||
|
||||
if (profile == "weblogic") {
|
||||
webXml = file("WebContent/WEB-INF/weblogic-web.xml")
|
||||
}
|
||||
archiveFileName = "eapim-online.war"
|
||||
duplicatesStrategy = DuplicatesStrategy.WARN
|
||||
|
||||
exclude '**/persistence.xml'
|
||||
exclude '**/context.xml'
|
||||
}
|
||||
@@ -62,52 +71,52 @@ dependencies {
|
||||
// implementation ('com.eactive:elink-online-transformer:4.5-SNAPSHOT') { changing = true }
|
||||
// implementation ('com.eactive:elink-online-common:4.5-SNAPSHOT') { changing = true }
|
||||
// implementation ('com.eactive:elink-online-emsclient:4.5-SNAPSHOT') { changing = true }
|
||||
implementation project(':elink-online-core')
|
||||
implementation project(':elink-online-transformer')
|
||||
implementation project(':elink-online-common')
|
||||
implementation project(':elink-online-emsclient')
|
||||
implementation project(':elink-online-core')
|
||||
implementation project(':elink-online-transformer')
|
||||
implementation project(':elink-online-common')
|
||||
implementation project(':elink-online-emsclient')
|
||||
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
|
||||
// implementation 'org.xerial:sqlite-jdbc:3.39.2.1'
|
||||
|
||||
/*
|
||||
mina-filter-ssl에 Exclude 설정을 하였으나
|
||||
mina-integration-spring에서도 mina-filter-ssl을 참조하여
|
||||
해당 "mina-filter-ssl" 참조관계로 인해 ".apache.mina:mina-core:1.0.10"가 참조되는 일이 발생하여
|
||||
두 라이브러르 모두 "exclude group" 설정을 추가함
|
||||
아래의 configurations 처럼 ALL로 제거하여도 무방함 참고
|
||||
configurations {
|
||||
all*.exclude group: 'org.apache.mina', module:'mina-core'
|
||||
}
|
||||
*/
|
||||
implementation ("org.apache.mina:mina-filter-ssl:1.0.10"){
|
||||
exclude group: 'org.apache.mina'
|
||||
}
|
||||
implementation ('org.apache.mina:mina-integration-spring:1.0.10'){
|
||||
exclude group: 'org.apache.mina'
|
||||
}
|
||||
/*
|
||||
mina-filter-ssl에 Exclude 설정을 하였으나
|
||||
mina-integration-spring에서도 mina-filter-ssl을 참조하여
|
||||
해당 "mina-filter-ssl" 참조관계로 인해 ".apache.mina:mina-core:1.0.10"가 참조되는 일이 발생하여
|
||||
두 라이브러르 모두 "exclude group" 설정을 추가함
|
||||
아래의 configurations 처럼 ALL로 제거하여도 무방함 참고
|
||||
configurations {
|
||||
all*.exclude group: 'org.apache.mina', module:'mina-core'
|
||||
}
|
||||
*/
|
||||
implementation ("org.apache.mina:mina-filter-ssl:1.0.10"){
|
||||
exclude group: 'org.apache.mina'
|
||||
}
|
||||
implementation ('org.apache.mina:mina-integration-spring:1.0.10'){
|
||||
exclude group: 'org.apache.mina'
|
||||
}
|
||||
|
||||
//implementation 'com.eactive:java_websocket-custom:1.0'
|
||||
|
||||
//implementation "tmax:webt:7.0.2.0-r11661-forJEUS8.0"
|
||||
//implementation "tmax:webtasync:2.0.3.1-r11801-forJEUS8.1"
|
||||
//implementation 'com.eactive:java_websocket-custom:1.0'
|
||||
|
||||
//implementation "tmax:webt:7.0.2.0-r11661-forJEUS8.0"
|
||||
//implementation "tmax:webtasync:2.0.3.1-r11801-forJEUS8.1"
|
||||
|
||||
implementation 'org.graylog2:gelfj:1.1.16'
|
||||
implementation 'org.graylog2:gelfj:1.1.16'
|
||||
|
||||
|
||||
implementation "org.springframework:spring-webmvc:${springVersion}"
|
||||
implementation "org.springframework.security:spring-security-jwt:1.1.1.RELEASE"
|
||||
implementation "org.springframework:spring-webmvc:${springVersion}"
|
||||
implementation "org.springframework.security:spring-security-jwt:1.1.1.RELEASE"
|
||||
|
||||
//implementation "com.eactive:ojdbc8:1.0"
|
||||
//implementation "org.postgresql:postgresql:42.2.23"
|
||||
//implementation "com.eactive:ojdbc8:1.0"
|
||||
//implementation "org.postgresql:postgresql:42.2.23"
|
||||
implementation 'org.mariadb.jdbc:mariadb-java-client:2.7.4'
|
||||
//implementation "com.oracle.ojdbc:ojdbc8:19.3.0.0"
|
||||
|
||||
implementation 'org.slf4j:jul-to-slf4j:1.7.35'
|
||||
implementation 'org.slf4j:jcl-over-slf4j:1.7.35'
|
||||
implementation 'org.slf4j:log4j-over-slf4j:1.7.35'
|
||||
implementation 'org.slf4j:slf4j-api:1.7.35'
|
||||
implementation 'org.slf4j:jul-to-slf4j:1.7.35'
|
||||
implementation 'org.slf4j:jcl-over-slf4j:1.7.35'
|
||||
implementation 'org.slf4j:log4j-over-slf4j:1.7.35'
|
||||
implementation 'org.slf4j:slf4j-api:1.7.35'
|
||||
implementation 'co.elastic.logging:logback-ecs-encoder:1.5.0'
|
||||
|
||||
implementation 'net.sf.j8583:j8583:1.18.0'
|
||||
@@ -147,11 +156,11 @@ configurations.all {
|
||||
}
|
||||
|
||||
task settingEclipseEncoding {
|
||||
if (project.file('.settings').exists()) {
|
||||
File f = file('.settings/org.eclipse.core.resources.prefs')
|
||||
f.write('eclipse.preferences.version=1\n')
|
||||
f.append('encoding/<project>=utf-8')
|
||||
}
|
||||
if (project.file('.settings').exists()) {
|
||||
File f = file('.settings/org.eclipse.core.resources.prefs')
|
||||
f.write('eclipse.preferences.version=1\n')
|
||||
f.append('encoding/<project>=utf-8')
|
||||
}
|
||||
}
|
||||
|
||||
//eclipseJdt.finalizedBy settingEclipseEncoding
|
||||
|
||||
Vendored
+90
@@ -0,0 +1,90 @@
|
||||
pipeline {
|
||||
// agent { label 'apigwd01' }
|
||||
// 노트북망에서는 apipod01 서버에서 진행한다.
|
||||
agent { label 'apipod01' }
|
||||
|
||||
environment {
|
||||
// Java 환경 설정
|
||||
JAVA_HOME = '/App/jenkins/jdks/jdk1.8.0_441'
|
||||
PATH = "${JAVA_HOME}/bin:${env.PATH}"
|
||||
|
||||
// Gradle 환경 설정
|
||||
GRADLE_HOME = '/App/jenkins/gradle-8.7'
|
||||
GRADLE_USER_HOME = '/App/jenkins/gradle-home'
|
||||
// GRADLE_OPTS = '--offline'
|
||||
|
||||
// Git 저장소 정보
|
||||
GIT_SERVER = '192.168.240.178:18081'
|
||||
GIT_CREDENTIALS_ID = 'git-ssh-credentials'
|
||||
|
||||
// 프로젝트 디렉토리 구조
|
||||
PROJECT_HOME = '/Data/jenkins/eapim'
|
||||
|
||||
BRANCH = 'jenkins_with_weblogic'
|
||||
}
|
||||
|
||||
|
||||
stages {
|
||||
stage('Git pull') {
|
||||
steps {
|
||||
echo "[online] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/eapim-online") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/eapim-online", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
|
||||
echo "[online-core] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/eapim-online/elink-online-core") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-core", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
|
||||
echo "[online-core-jpa] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/eapim-online/elink-online-core-jpa") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-core-jpa", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
|
||||
|
||||
echo "[online-transformer] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/eapim-online/elink-online-transformer") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-transformer", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
|
||||
echo "[online-common] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/eapim-online/elink-online-common") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-common", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
|
||||
echo "[online-emsclient] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/eapim-online/elink-online-emsclient") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-emsclient", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
|
||||
echo "[kjb-safedb] Git pull from branch: ${BRANCH}"
|
||||
dir("${PROJECT_HOME}/kjb-safedb") {
|
||||
git url: "ssh://git@${GIT_SERVER}/eapim/kjb-safedb", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
tool name: 'Oracle-JDK-1.8', type: 'hudson.model.JDK'
|
||||
|
||||
echo "[admin] Build project"
|
||||
dir("${PROJECT_HOME}/eapim-online") {
|
||||
sh '${GRADLE_HOME}/bin/gradle clean build -x test -Pprofile=weblogic'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Archive WAR') {
|
||||
steps {
|
||||
echo "[admin] Archive WAR file"
|
||||
dir("${PROJECT_HOME}/eapim-online/build/libs") {
|
||||
archiveArtifacts artifacts: '*.war', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user