jenkins, weblogic 대응 작업
This commit is contained in:
+39
-39
@@ -64,52 +64,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'
|
||||
@@ -149,11 +149,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
+83
@@ -0,0 +1,83 @@
|
||||
pipeline {
|
||||
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 = 'staging'
|
||||
}
|
||||
|
||||
|
||||
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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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-admin/build/libs") {
|
||||
archiveArtifacts artifacts: '*.war', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user