Merge pull request '[♻️] 젠킨스 동작 로직 수정' (#8) from seonkyu.kim/AcaMate_Web:main into debug
Some checks failed
AcaMate_FO/pipeline/head There was a failure building this commit
Some checks failed
AcaMate_FO/pipeline/head There was a failure building this commit
Reviewed-on: https://git.ipstein.myds.me/AcaMate/AcaMate_Web/pulls/8
This commit is contained in:
commit
96378dccb8
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user