forked from AcaMate/AcaMate_Web
[♻️] 젠킨스 동작 로직 수정
This commit is contained in:
parent
96b4937653
commit
fc5e072697
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user