Update Jenkinsfile

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

View File

@ -37,6 +37,30 @@ podTemplate(
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') {
container('gradle') {
sh """