jenkinsfile update
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<weblogic-web-app
|
<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">
|
||||||
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>monitoring</context-root>
|
<context-root>/</context-root>
|
||||||
<session-descriptor>
|
<session-descriptor>
|
||||||
<timeout-secs>1800</timeout-secs>
|
<timeout-secs>1800</timeout-secs>
|
||||||
<cookie-name>JSESSIONID_EMS</cookie-name>
|
<cookie-name>JSESSIONID_EMS</cookie-name>
|
||||||
|
|||||||
Vendored
+12
-5
@@ -1,4 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
|
// agent { label 'apigwd01' }
|
||||||
|
// 노트북망에서는 apipod01 서버에서 진행한다.
|
||||||
agent { label 'apipod01' }
|
agent { label 'apipod01' }
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
@@ -18,7 +20,7 @@ pipeline {
|
|||||||
// 프로젝트 디렉토리 구조
|
// 프로젝트 디렉토리 구조
|
||||||
PROJECT_HOME = '/Data/jenkins/eapim'
|
PROJECT_HOME = '/Data/jenkins/eapim'
|
||||||
|
|
||||||
BRANCH = 'staging'
|
BRANCH = 'jenkins_with_weblogic'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -30,7 +32,7 @@ pipeline {
|
|||||||
git url: "ssh://git@${GIT_SERVER}/eapim/eapim-online", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
git url: "ssh://git@${GIT_SERVER}/eapim/eapim-online", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "[online-core] Git pull from branch: ${BRANCH}"
|
echo "[online-core] Git pull from branch: ${BRANCH}"
|
||||||
dir("${PROJECT_HOME}/eapim-online/elink-online-core") {
|
dir("${PROJECT_HOME}/eapim-online/elink-online-core") {
|
||||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-core", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-core", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||||
}
|
}
|
||||||
@@ -46,15 +48,20 @@ pipeline {
|
|||||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-transformer", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-transformer", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "[online-common] Git pull from branch: ${BRANCH}"
|
echo "[online-common] Git pull from branch: ${BRANCH}"
|
||||||
dir("${PROJECT_HOME}/eapim-online/elink-online-common") {
|
dir("${PROJECT_HOME}/eapim-online/elink-online-common") {
|
||||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-common", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-common", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "[online-emsclient] Git pull from branch: ${BRANCH}"
|
echo "[online-emsclient] Git pull from branch: ${BRANCH}"
|
||||||
dir("${PROJECT_HOME}/eapim-online/elink-online-emsclient") {
|
dir("${PROJECT_HOME}/eapim-online/elink-online-emsclient") {
|
||||||
git url: "ssh://git@${GIT_SERVER}/eapim/elink-online-emsclient", branch: "${BRANCH}", credentialsId: "${GIT_CREDENTIALS_ID}"
|
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}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,7 +81,7 @@ pipeline {
|
|||||||
stage('Archive WAR') {
|
stage('Archive WAR') {
|
||||||
steps {
|
steps {
|
||||||
echo "[admin] Archive WAR file"
|
echo "[admin] Archive WAR file"
|
||||||
dir("${PROJECT_HOME}/eapim-admin/build/libs") {
|
dir("${PROJECT_HOME}/eapim-online/build/libs") {
|
||||||
archiveArtifacts artifacts: '*.war', fingerprint: true
|
archiveArtifacts artifacts: '*.war', fingerprint: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user