diff --git a/Jenkinsfile b/Jenkinsfile index 12ae774..04423df 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -138,7 +138,8 @@ pipeline { # Optional: show Java & reachability java -version || true - curl -sf "$SONAR_HOST_URL/api/system/health" || { echo "Cannot reach SonarQube at $SONAR_HOST_URL"; exit 1; } + # ไม่ต้องใช้ curl เพราะ API นี้ติดเรื่องสิทธิ์ + # curl -sf "$SONAR_HOST_URL/api/system/health" || { echo "Cannot reach SonarQube at $SONAR_HOST_URL"; exit 1; } # BEGIN (use injected URL/token; add verbose for diagnostics) dotnet sonarscanner begin \