diff --git a/kjb-docs/Jenkinsfile b/kjb-docs/Jenkinsfile index e785c36..6672cc8 100644 --- a/kjb-docs/Jenkinsfile +++ b/kjb-docs/Jenkinsfile @@ -1,6 +1,12 @@ pipeline { + // 25.10.01 : 기본 브랜치 staging -> jenkins_with_weblogic 로 변경 + agent { label 'apipod01' } + triggers { + pollSCM('H/5 * * * *') + } + environment { // Java 환경 설정 JAVA_HOME = '/App/jenkins/jdks/jdk1.8.0_441' @@ -18,7 +24,7 @@ pipeline { // 프로젝트 디렉토리 구조 PROJECT_HOME = '/Data/jenkins/eapim' - BRANCH = 'staging' + BRANCH = 'jenkins_with_weblogic' } @@ -41,6 +47,11 @@ pipeline { dir("${PROJECT_HOME}/elink-portal-common") { git url: "ssh://git@${GIT_SERVER}/eapim/elink-portal-common", 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}" + } } }