JK
This commit is contained in:
parent
f6502ba50e
commit
1bbf44559a
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user