Update Jenkinsfile

This commit is contained in:
John Hanzu Kim 2025-06-16 17:16:49 +09:00 committed by GitHub
parent ad0d6bb197
commit 610915add9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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