Jenkinsfile: JDK 21 설치 경로 수정 및 디버깅 추가

- JDK 압축 해제 경로에 /jdk-21 서브디렉토리 추가
- 대기 중 ls 명령으로 디렉토리 상태 확인
- JDK 설치 진행 상황 디버깅 개선
This commit is contained in:
hjmoons 2025-10-30 18:38:16 +09:00
parent 991c1855e4
commit 4929f8d80b

3
Jenkinsfile vendored
View File

@ -53,8 +53,9 @@ pipeline {
// JDK 설치 완료 대기 및 확인
sh """
echo "Waiting for JDK installation..."
while [ ! -f ${jdkHome}/bin/java ]; do
while [ ! -f ${jdkHome}/jdk-21/bin/java ]; do
echo "Waiting for JDK to be extracted..."
ls -al ${jdkHome}/bin/java
sleep 2
done
echo "JDK installation completed"