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

Merged
seonkyu.kim merged 1 commits from seonkyu.kim/AcaMate_Web:main into debug 2025-05-21 08:15:32 +00:00

14
Jenkinsfile vendored
View File

@ -7,6 +7,20 @@ pipeline {
}
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') {
steps {
git url: 'https://git.ipstein.myds.me/AcaMate/AcaMate_Web.git', branch: env.GIT_BRANCH