[♻️] 젠킨스 동작 로직 수정

This commit is contained in:
김선규 2025-05-21 17:14:01 +09:00
parent 96b4937653
commit fc5e072697

14
Jenkinsfile vendored
View File

@ -7,6 +7,20 @@ pipeline {
} }
stages { stages {
stage('Clear Repository') {
steps {
script {
sh """
echo 'Clearing Front directory'
find /volume1/AcaMate/PROJECT/Application/Front -mindepth 1 -maxdepth 1 \\
! -name 'privacy' \\
! -name 'publish' \\
-exec rm -rf {} +
echo 'Clean complete'
"""
}
}
}
stage('Clone Repository') { stage('Clone Repository') {
steps { steps {
git url: 'https://git.ipstein.myds.me/AcaMate/AcaMate_Web.git', branch: env.GIT_BRANCH git url: 'https://git.ipstein.myds.me/AcaMate/AcaMate_Web.git', branch: env.GIT_BRANCH