mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2025-12-06 15:16:23 +00:00
Update Jenkinsfile
This commit is contained in:
parent
ad0d6bb197
commit
610915add9
28
smarketing-java/deployment/Jenkinsfile
vendored
28
smarketing-java/deployment/Jenkinsfile
vendored
@ -37,34 +37,14 @@ podTemplate(
|
|||||||
namespace = "${props.namespace}"
|
namespace = "${props.namespace}"
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Debug Project Structure') {
|
|
||||||
container('gradle') {
|
|
||||||
sh """
|
|
||||||
echo "=== 현재 디렉토리 확인 ==="
|
|
||||||
pwd
|
|
||||||
|
|
||||||
echo "=== 루트 디렉토리 파일 목록 ==="
|
|
||||||
ls -la
|
|
||||||
|
|
||||||
echo "=== gradlew 파일 찾기 ==="
|
|
||||||
find . -name "gradlew" -type f 2>/dev/null || echo "gradlew 파일을 찾을 수 없습니다"
|
|
||||||
|
|
||||||
echo "=== build.gradle 파일 찾기 ==="
|
|
||||||
find . -name "build.gradle" -type f 2>/dev/null || echo "build.gradle 파일을 찾을 수 없습니다"
|
|
||||||
|
|
||||||
echo "=== settings.gradle 파일 찾기 ==="
|
|
||||||
find . -name "settings.gradle" -type f 2>/dev/null || echo "settings.gradle 파일을 찾을 수 없습니다"
|
|
||||||
|
|
||||||
echo "=== 디렉토리 트리 구조 (깊이 2) ==="
|
|
||||||
find . -maxdepth 2 -type d | sort
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Build Application') {
|
stage('Build Application') {
|
||||||
container('gradle') {
|
container('gradle') {
|
||||||
sh """
|
sh """
|
||||||
chmod +x gradlew
|
cd smarketing-java
|
||||||
|
|
||||||
|
chmod +x gradlew
|
||||||
|
|
||||||
./gradlew :member:clean :member:build -x test
|
./gradlew :member:clean :member:build -x test
|
||||||
./gradlew :store:clean :store:build -x test
|
./gradlew :store:clean :store:build -x test
|
||||||
./gradlew :marketing-content:clean :marketing-content:build -x test
|
./gradlew :marketing-content:clean :marketing-content:build -x test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user